@Configuration(value="googleAuthentiacatorJpaConfiguration") @EnableConfigurationProperties(value=CasConfigurationProperties.class) @EnableTransactionManagement(proxyTargetClass=true) public class GoogleAuthentiacatorJpaConfiguration extends java.lang.Object
GoogleAuthentiacatorJpaConfiguration
.Constructor and Description |
---|
GoogleAuthentiacatorJpaConfiguration() |
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
dataSourceEvent() |
com.warrenstrange.googleauth.ICredentialRepository |
googleAuthenticatorAccountRegistry() |
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean |
googleAuthenticatorEntityManagerFactory() |
java.lang.String[] |
jpaEventPackagesToScan() |
org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter |
jpaEventVendorAdapter() |
org.springframework.transaction.PlatformTransactionManager |
transactionManagerGoogleAuthenticator(javax.persistence.EntityManagerFactory emf) |
public GoogleAuthentiacatorJpaConfiguration()
@RefreshScope @Bean public org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter jpaEventVendorAdapter()
@RefreshScope @Bean public javax.sql.DataSource dataSourceEvent()
@Bean public java.lang.String[] jpaEventPackagesToScan()
@Lazy @Bean public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean googleAuthenticatorEntityManagerFactory()
@Autowired @Bean public org.springframework.transaction.PlatformTransactionManager transactionManagerGoogleAuthenticator(@Qualifier(value="googleAuthenticatorEntityManagerFactory") javax.persistence.EntityManagerFactory emf)
@Bean public com.warrenstrange.googleauth.ICredentialRepository googleAuthenticatorAccountRegistry()