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)
io.jans.configapi.model.configuration.AssetMgtConfiguration
getAssetMgtConfiguration()
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()
-
getAssetMgtConfiguration
@Produces @ApplicationScoped public io.jans.configapi.model.configuration.AssetMgtConfiguration getAssetMgtConfiguration()
-
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()
-
-