Package org.gluu.oxtrust.service.config
Class ConfigurationFactory
- java.lang.Object
-
- org.gluu.util.init.Initializable
-
- org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
- org.gluu.oxtrust.service.config.ConfigurationFactory
-
@ApplicationScoped public class ConfigurationFactory extends ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
- Version:
- 0.1, 05/25/2020
- Author:
- Yuriy Movchan
-
-
Field Summary
-
Fields inherited from class org.gluu.service.config.ConfigurationFactory
APP_PROPERTIES_FILE, APPLICATION_CONFIGURATION, attributeResolverConfiguration, BASE_CONFIGUARION_RELOAD_EVENT_TYPE, BASE_DIR, baseConfiguration, CACHE_PROPERTIES_FILE, DIR, LOG_ROTATION_CONFIGURATION, PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE, SALT_FILE_NAME
-
-
Constructor Summary
Constructors Constructor Description ConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
destroryLoadedConfiguration()
org.gluu.config.oxtrust.AppConfiguration
getAppConfiguration()
protected java.lang.String
getApplicationPropertiesFileName()
org.gluu.config.oxtrust.CacheRefreshConfiguration
getCacheRefreshConfiguration()
java.lang.String
getConfigurationDn()
org.gluu.config.oxtrust.ImportPersonConfig
getImportPersonConfig()
protected void
init(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
protected boolean
isNewRevision(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
protected org.gluu.config.oxtrust.LdapOxTrustConfiguration
loadConfigurationFromDb(java.lang.String... returnAttributes)
-
Methods inherited from class org.gluu.service.config.ConfigurationFactory
confDir, create, destroy, getAttributeResolverConfiguration, getBaseConfiguration, getCryptoConfigurationSalt, getPersistenceConfiguration, init, initInternal, initTimer, loadCryptoConfigurationSalt, reloadConfigurationTimerEvent
-
-
-
-
Method Detail
-
init
protected void init(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
- Specified by:
init
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
loadConfigurationFromDb
protected org.gluu.config.oxtrust.LdapOxTrustConfiguration loadConfigurationFromDb(java.lang.String... returnAttributes)
- Specified by:
loadConfigurationFromDb
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
destroryLoadedConfiguration
protected void destroryLoadedConfiguration()
- Specified by:
destroryLoadedConfiguration
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
isNewRevision
protected boolean isNewRevision(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
- Specified by:
isNewRevision
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
getConfigurationDn
public java.lang.String getConfigurationDn()
- Specified by:
getConfigurationDn
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
getCacheRefreshConfiguration
public org.gluu.config.oxtrust.CacheRefreshConfiguration getCacheRefreshConfiguration()
-
getImportPersonConfig
public org.gluu.config.oxtrust.ImportPersonConfig getImportPersonConfig()
-
getAppConfiguration
@Produces @ApplicationScoped public org.gluu.config.oxtrust.AppConfiguration getAppConfiguration()
-
getApplicationPropertiesFileName
protected java.lang.String getApplicationPropertiesFileName()
- Specified by:
getApplicationPropertiesFileName
in classConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
-