Class ConfigurationFactory


  • @ApplicationScoped
    public class ConfigurationFactory
    extends java.lang.Object
    Version:
    June 15, 2016
    Author:
    Yuriy Zabrovarnyy, Javier Rojas Blum, Yuriy Movchan
    • Field Detail

      • PERSISTENCE_CONFIGURATION_RELOAD_EVENT_TYPE

        public static final java.lang.String PERSISTENCE_CONFIGURATION_RELOAD_EVENT_TYPE
        See Also:
        Constant Field Values
      • BASE_CONFIGURATION_RELOAD_EVENT_TYPE

        public static final java.lang.String BASE_CONFIGURATION_RELOAD_EVENT_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationFactory

        public ConfigurationFactory()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • onServletContextActivation

        public void onServletContextActivation​(@Observes
                                               javax.servlet.ServletContext context)
      • create

        public void create()
      • initTimer

        public void initTimer()
      • reloadConfigurationTimerEvent

        @Asynchronous
        public void reloadConfigurationTimerEvent​(@Observes
                                                  io.jans.service.cdi.event.ConfigurationEvent configurationEvent)
      • getBaseConfiguration

        public io.jans.util.properties.FileConfiguration getBaseConfiguration()
      • getPersistenceConfiguration

        @Produces
        @ApplicationScoped
        public io.jans.orm.model.PersistenceConfiguration getPersistenceConfiguration()
      • getAppConfiguration

        @Produces
        @ApplicationScoped
        public io.jans.as.model.configuration.AppConfiguration getAppConfiguration()
      • getStaticConfiguration

        @Produces
        @ApplicationScoped
        public io.jans.as.model.config.StaticConfiguration getStaticConfiguration()
      • getWebKeysConfiguration

        @Produces
        @ApplicationScoped
        public io.jans.as.model.config.WebKeysConfiguration getWebKeysConfiguration()
      • getErrorResponseFactory

        @Produces
        @ApplicationScoped
        public io.jans.as.model.error.ErrorResponseFactory getErrorResponseFactory()
      • getBaseDn

        public io.jans.as.model.config.BaseDnConfiguration getBaseDn()
      • getCryptoConfigurationPassw

        public java.lang.String getCryptoConfigurationPassw()
      • getCryptoConfigurationSalt

        public java.lang.String getCryptoConfigurationSalt()
      • getCryptoConfigurationAlg

        public java.lang.String getCryptoConfigurationAlg()
      • reloadConfFromLdap

        public boolean reloadConfFromLdap()
      • destroy

        public void destroy​(java.lang.Class<? extends io.jans.as.model.configuration.Configuration> clazz)
      • loadCryptoConfigurationSalt

        public void loadCryptoConfigurationSalt()
      • getFacesMapping

        public java.lang.String getFacesMapping()
      • getContextPath

        public java.lang.String getContextPath()