public class CommonEntityManagerFactoryConf extends Object implements org.apache.syncope.core.persistence.api.DomainsHolder, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
DataSource
..Constructor and Description |
---|
CommonEntityManagerFactoryConf() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Map<String,DataSource> |
getDomains() |
Map<String,?> |
getJpaPropertyMap() |
String[] |
getPackagesToScan() |
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor[] |
getPersistenceUnitPostProcessors() |
javax.persistence.ValidationMode |
getValidationMode() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setJpaPropertyMap(Map<String,?> jpaProperties) |
void |
setPackagesToScan(String... packagesToScan) |
void |
setPersistenceUnitPostProcessors(org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor... postProcessors) |
void |
setValidationMode(javax.persistence.ValidationMode validationMode) |
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public Map<String,DataSource> getDomains()
getDomains
in interface org.apache.syncope.core.persistence.api.DomainsHolder
public String[] getPackagesToScan()
public void setPackagesToScan(String... packagesToScan)
public javax.persistence.ValidationMode getValidationMode()
public void setValidationMode(javax.persistence.ValidationMode validationMode)
public org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor[] getPersistenceUnitPostProcessors()
public void setPersistenceUnitPostProcessors(org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor... postProcessors)
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.