Class AppInitializer


  • @ApplicationScoped
    @Named
    public class AppInitializer
    extends Object
    FIDO2 server initializer
    Version:
    May 12, 2020
    Author:
    Yuriy MOvchan
    • Constructor Detail

      • AppInitializer

        public AppInitializer()
    • 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)