Package org.gluu.oxauth.model.config
Class ConfigurationFactory
- java.lang.Object
-
- org.gluu.oxauth.model.config.ConfigurationFactory
-
@ApplicationScoped public class ConfigurationFactory extends java.lang.Object
- Version:
- June 15, 2016
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum, Yuriy Movchan
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASE_CONFIGUARION_RELOAD_EVENT_TYPE
static java.lang.String
PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
-
Constructor Summary
Constructors Constructor Description ConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
void
destroy(java.lang.Class<? extends Configuration> clazz)
AppConfiguration
getAppConfiguration()
org.gluu.util.properties.FileConfiguration
getBaseConfiguration()
BaseDnConfiguration
getBaseDn()
java.lang.String
getContextPath()
java.lang.String
getCryptoConfigurationSalt()
ErrorResponseFactory
getErrorResponseFactory()
java.lang.String
getFacesMapping()
org.gluu.persist.model.PersistenceConfiguration
getPersistenceConfiguration()
StaticConfiguration
getStaticConfiguration()
WebKeysConfiguration
getWebKeysConfiguration()
void
init()
void
initTimer()
void
loadCryptoConfigurationSalt()
void
onServletContextActivation(javax.servlet.ServletContext context)
boolean
reloadConfFromLdap()
void
reloadConfigurationTimerEvent(org.gluu.service.cdi.event.ConfigurationEvent configurationEvent)
-
-
-
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
-
-
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()
-
getBaseDn
public BaseDnConfiguration getBaseDn()
-
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()
-
-