Package io.jans.configapi.configuration
Class AppInitializer
- java.lang.Object
-
- io.jans.configapi.configuration.AppInitializer
-
@ApplicationScoped @Named("appInitializer") public class AppInitializer extends Object
-
-
Constructor Summary
Constructors Constructor Description AppInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.orm.PersistenceEntryManager
createPersistenceEntryManager()
void
destroy(jakarta.servlet.ServletContext init)
ConfigurationFactory
getConfigurationFactory()
protected void
initSchedulerService()
void
onStart(Object init)
void
recreatePersistanceEntryManager(String event)
-
-
-
Method Detail
-
onStart
public void onStart(@Observes @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
destroy
public void destroy(@Observes @BeforeDestroyed(jakarta.enterprise.context.ApplicationScoped.class) jakarta.servlet.ServletContext init)
-
getConfigurationFactory
@Produces @ApplicationScoped public ConfigurationFactory getConfigurationFactory()
-
createPersistenceEntryManager
@Produces @ApplicationScoped @Named("persistenceEntryManager") public io.jans.orm.PersistenceEntryManager createPersistenceEntryManager() throws io.jans.exception.OxIntializationException
- Throws:
io.jans.exception.OxIntializationException
-
recreatePersistanceEntryManager
public void recreatePersistanceEntryManager(@Observes @LdapConfigurationReload String event)
-
initSchedulerService
protected void initSchedulerService()
-
-