Package io.jans.fido2.service.app
Class AppInitializer
- java.lang.Object
-
- io.jans.fido2.service.app.AppInitializer
-
@ApplicationScoped @Named public class AppInitializer extends Object
FIDO2 server initializer- Version:
- May 12, 2020
- Author:
- Yuriy MOvchan
-
-
Constructor Summary
Constructors Constructor Description AppInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applicationInitialized(Object init)
void
createApplicationComponents()
io.jans.orm.PersistenceEntryManager
createMetricPersistenceEntryManager()
io.jans.orm.PersistenceEntryManager
createPersistenceEntryManager()
void
destroy(jakarta.servlet.ServletContext init)
io.jans.util.security.StringEncrypter
getStringEncrypter()
protected void
initSchedulerService()
protected Properties
prepareCustomPersistanceProperties(String configId)
protected Properties
preparePersistanceProperties()
protected void
recreatePersistanceEntryManagerImpl(jakarta.enterprise.inject.Instance<io.jans.orm.PersistenceEntryManager> instance, String persistenceEntryManagerName, Annotation... qualifiers)
void
recreatePersistenceEntryManager(String event)
-
-
-
Method Detail
-
createApplicationComponents
@PostConstruct public void createApplicationComponents()
-
applicationInitialized
public void applicationInitialized(@Observes @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
initSchedulerService
protected void initSchedulerService()
-
getStringEncrypter
@Produces @ApplicationScoped public io.jans.util.security.StringEncrypter getStringEncrypter()
-
preparePersistanceProperties
protected Properties preparePersistanceProperties()
-
prepareCustomPersistanceProperties
protected Properties prepareCustomPersistanceProperties(String configId)
-
createPersistenceEntryManager
@Produces @ApplicationScoped @Named("persistenceEntryManager") public io.jans.orm.PersistenceEntryManager createPersistenceEntryManager()
-
createMetricPersistenceEntryManager
@Produces @ApplicationScoped @Named("persistenceMetricEntryManager") @ReportMetric public io.jans.orm.PersistenceEntryManager createMetricPersistenceEntryManager()
-
recreatePersistenceEntryManager
public void recreatePersistenceEntryManager(@Observes @LdapConfigurationReload String event)
-
recreatePersistanceEntryManagerImpl
protected void recreatePersistanceEntryManagerImpl(jakarta.enterprise.inject.Instance<io.jans.orm.PersistenceEntryManager> instance, String persistenceEntryManagerName, Annotation... qualifiers)
-
destroy
public void destroy(@Observes @BeforeDestroyed(jakarta.enterprise.context.ApplicationScoped.class) jakarta.servlet.ServletContext init)
-
-