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_CONFIGUARION_RELOAD_EVENT_TYPE

        public static final java.lang.String PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
        See Also:
        Constant Field Values
      • BASE_CONFIGUARION_RELOAD_EVENT_TYPE

        public static final java.lang.String BASE_CONFIGUARION_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
                                                  org.gluu.service.cdi.event.ConfigurationEvent configurationEvent)
      • getBaseConfiguration

        public org.gluu.util.properties.FileConfiguration getBaseConfiguration()
      • getPersistenceConfiguration

        @Produces
        @ApplicationScoped
        public org.gluu.persist.model.PersistenceConfiguration getPersistenceConfiguration()
      • getAppConfiguration

        @Produces
        @ApplicationScoped
        public AppConfiguration getAppConfiguration()
      • getStaticConfiguration

        @Produces
        @ApplicationScoped
        public StaticConfiguration getStaticConfiguration()
      • getWebKeysConfiguration

        @Produces
        @ApplicationScoped
        public WebKeysConfiguration getWebKeysConfiguration()
      • getErrorResponseFactory

        @Produces
        @ApplicationScoped
        public ErrorResponseFactory getErrorResponseFactory()
      • getCryptoConfigurationSalt

        public java.lang.String getCryptoConfigurationSalt()
      • reloadConfFromLdap

        public boolean reloadConfFromLdap()
      • destroy

        public void destroy​(java.lang.Class<? extends Configuration> clazz)
      • loadCryptoConfigurationSalt

        public void loadCryptoConfigurationSalt()
      • getFacesMapping

        public java.lang.String getFacesMapping()
      • getContextPath

        public java.lang.String getContextPath()