Class 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
    • Field Detail

      • BASE_DIR

        public static final String BASE_DIR
      • DIR

        public static final String DIR
    • Constructor Detail

      • PersistanceFactoryService

        public PersistanceFactoryService()
    • Method Detail

      • loadPersistenceConfiguration

        public io.jans.orm.model.PersistenceConfiguration loadPersistenceConfiguration()
        Specified by:
        loadPersistenceConfiguration in interface io.jans.orm.service.BaseFactoryService
      • loadPersistenceConfiguration

        public io.jans.orm.model.PersistenceConfiguration loadPersistenceConfiguration​(String applicationPropertiesFile)
        Specified by:
        loadPersistenceConfiguration in interface io.jans.orm.service.BaseFactoryService
      • getPersistenceEntryManagerFactory

        public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory​(io.jans.orm.model.PersistenceConfiguration persistenceConfiguration)
        Specified by:
        getPersistenceEntryManagerFactory in interface io.jans.orm.service.BaseFactoryService
      • getPersistenceEntryManagerFactory

        public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory​(Class<? extends io.jans.orm.PersistenceEntryManagerFactory> persistenceEntryManagerFactoryClass)
        Specified by:
        getPersistenceEntryManagerFactory in interface io.jans.orm.service.BaseFactoryService
      • getPersistenceEntryManagerFactory

        public io.jans.orm.PersistenceEntryManagerFactory getPersistenceEntryManagerFactory​(String persistenceType)
        Specified by:
        getPersistenceEntryManagerFactory in interface io.jans.orm.service.BaseFactoryService
      • getLog

        public org.slf4j.Logger getLog()
        Specified by:
        getLog in interface io.jans.orm.service.BaseFactoryService
      • getBasePersistenceType

        public String getBasePersistenceType​(String persistenceType)
        Specified by:
        getBasePersistenceType in interface io.jans.orm.service.BaseFactoryService
      • getPersistenceTypeAlias

        public String getPersistenceTypeAlias​(String persistenceType)
        Specified by:
        getPersistenceTypeAlias in interface io.jans.orm.service.BaseFactoryService