Package org.gluu.oxtrust.service.init
Class ConfigurationFactory
- java.lang.Object
-
- org.gluu.util.init.Initializable
-
- org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
- org.gluu.oxtrust.service.init.ConfigurationFactory
-
@ApplicationScoped public class ConfigurationFactory extends org.gluu.service.config.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 String
getApplicationPropertiesFileName()
String
getConfigurationDn()
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(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 classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
loadConfigurationFromDb
protected org.gluu.config.oxtrust.LdapOxTrustConfiguration loadConfigurationFromDb(String... returnAttributes)
- Specified by:
loadConfigurationFromDb
in classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
destroryLoadedConfiguration
protected void destroryLoadedConfiguration()
- Specified by:
destroryLoadedConfiguration
in classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
isNewRevision
protected boolean isNewRevision(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
- Specified by:
isNewRevision
in classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
getConfigurationDn
public String getConfigurationDn()
- Specified by:
getConfigurationDn
in classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
getAppConfiguration
@Produces @ApplicationScoped public org.gluu.config.oxtrust.AppConfiguration getAppConfiguration()
-
getApplicationPropertiesFileName
protected String getApplicationPropertiesFileName()
- Specified by:
getApplicationPropertiesFileName
in classorg.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
-
-