Class SpringConfigBackendDatabase

java.lang.Object
de.digitalcollections.cudami.server.config.SpringConfigBackendDatabase

@Configuration
@ComponentScan(basePackages="de.digitalcollections.cudami.server.backend.impl.jdbi")
public class SpringConfigBackendDatabase
extends java.lang.Object
Database configuration.
  • Constructor Summary

    Constructors
    Constructor Description
    SpringConfigBackendDatabase()  
  • Method Summary

    Modifier and Type Method Description
    org.jdbi.v3.spring4.JdbiFactoryBean jdbi​(javax.sql.DataSource ds, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    org.springframework.security.web.authentication.rememberme.PersistentTokenRepository persistentTokenRepository​(javax.sql.DataSource pds)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringConfigBackendDatabase

      public SpringConfigBackendDatabase()
  • Method Details

    • persistentTokenRepository

      @Autowired @Bean @Qualifier("pds") public org.springframework.security.web.authentication.rememberme.PersistentTokenRepository persistentTokenRepository​(javax.sql.DataSource pds)
    • jdbi

      @Bean public org.jdbi.v3.spring4.JdbiFactoryBean jdbi​(javax.sql.DataSource ds, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws java.lang.Exception
      Throws:
      java.lang.Exception