Package io.jans.orm.service
Class PersistanceFactoryService
- java.lang.Object
-
- io.jans.orm.service.PersistanceFactoryService
-
- All Implemented Interfaces:
io.jans.orm.service.BaseFactoryService
@ApplicationScoped public class PersistanceFactoryService extends Object implements io.jans.orm.service.BaseFactoryService
Factory which creates Persistence Entry Manager- Author:
- Yuriy Movchan Date: 05/10/2019
-
-
Constructor Summary
Constructors Constructor Description PersistanceFactoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBasePersistenceType(String persistenceType)
org.slf4j.Logger
getLog()
io.jans.orm.PersistenceEntryManagerFactory
getPersistenceEntryManagerFactory(io.jans.orm.model.PersistenceConfiguration persistenceConfiguration)
io.jans.orm.PersistenceEntryManagerFactory
getPersistenceEntryManagerFactory(Class<? extends io.jans.orm.PersistenceEntryManagerFactory> persistenceEntryManagerFactoryClass)
io.jans.orm.PersistenceEntryManagerFactory
getPersistenceEntryManagerFactory(String persistenceType)
String
getPersistenceTypeAlias(String persistenceType)
io.jans.orm.model.PersistenceConfiguration
loadPersistenceConfiguration()
io.jans.orm.model.PersistenceConfiguration
loadPersistenceConfiguration(String applicationPropertiesFile)
-
-
-
Method Detail
-
loadPersistenceConfiguration
public io.jans.orm.model.PersistenceConfiguration loadPersistenceConfiguration()
- Specified by:
loadPersistenceConfiguration
in interfaceio.jans.orm.service.BaseFactoryService
-
loadPersistenceConfiguration
public io.jans.orm.model.PersistenceConfiguration loadPersistenceConfiguration(String applicationPropertiesFile)
- Specified by:
loadPersistenceConfiguration
in interfaceio.jans.orm.service.BaseFactoryService
-
getPersistenceEntryManagerFactory
public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory(io.jans.orm.model.PersistenceConfiguration persistenceConfiguration)
- Specified by:
getPersistenceEntryManagerFactory
in interfaceio.jans.orm.service.BaseFactoryService
-
getPersistenceEntryManagerFactory
public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory(Class<? extends io.jans.orm.PersistenceEntryManagerFactory> persistenceEntryManagerFactoryClass)
- Specified by:
getPersistenceEntryManagerFactory
in interfaceio.jans.orm.service.BaseFactoryService
-
getPersistenceEntryManagerFactory
public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory(String persistenceType)
- Specified by:
getPersistenceEntryManagerFactory
in interfaceio.jans.orm.service.BaseFactoryService
-
getLog
public org.slf4j.Logger getLog()
- Specified by:
getLog
in interfaceio.jans.orm.service.BaseFactoryService
-
getBasePersistenceType
public String getBasePersistenceType(String persistenceType)
- Specified by:
getBasePersistenceType
in interfaceio.jans.orm.service.BaseFactoryService
-
-