Class CommonEntityManagerFactoryConf
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.spring.CommonEntityManagerFactoryConf
-
- All Implemented Interfaces:
DomainHolder
public class CommonEntityManagerFactoryConf extends Object implements DomainHolder
Container for common configuration options among all EntityManagerFactory entities (one for each domain). Acts as a commodity place for fetching each domain'sDataSource
..
-
-
Constructor Summary
Constructors Constructor Description CommonEntityManagerFactoryConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,DataSource>
getDomains()
Map<String,?>
getJpaPropertyMap()
String[]
getPackagesToScan()
PersistenceUnitPostProcessor[]
getPersistenceUnitPostProcessors()
javax.persistence.ValidationMode
getValidationMode()
void
setJpaPropertyMap(Map<String,?> jpaProperties)
void
setPackagesToScan(String... packagesToScan)
void
setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor... postProcessors)
void
setValidationMode(javax.persistence.ValidationMode validationMode)
-
-
-
Method Detail
-
getDomains
public Map<String,DataSource> getDomains()
- Specified by:
getDomains
in interfaceDomainHolder
-
getPackagesToScan
public String[] getPackagesToScan()
-
setPackagesToScan
public void setPackagesToScan(String... packagesToScan)
-
getValidationMode
public javax.persistence.ValidationMode getValidationMode()
-
setValidationMode
public void setValidationMode(javax.persistence.ValidationMode validationMode)
-
getPersistenceUnitPostProcessors
public PersistenceUnitPostProcessor[] getPersistenceUnitPostProcessors()
-
setPersistenceUnitPostProcessors
public void setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor... postProcessors)
-
-