Package io.jans.configapi.configuration
Class AppInitializer
java.lang.Object
io.jans.configapi.configuration.AppInitializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.jans.orm.PersistenceEntryManager
void
destroy
(jakarta.servlet.ServletContext init) io.jans.configapi.model.configuration.AssetMgtConfiguration
protected void
void
void
-
Constructor Details
-
AppInitializer
public AppInitializer()
-
-
Method Details
-
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
-
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
-
initSchedulerService
protected void initSchedulerService()
-