public class ConfigLoader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigLoader.Algorithm |
static class |
ConfigLoader.UnavailableBehavior |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
ACS_URLS |
protected List<String> |
ACSA_URLS |
protected ConfigLoader.Algorithm |
ACSAalgo |
protected ConfigLoader.Algorithm |
ACSalgo |
protected int |
ACSARetryCount |
protected int |
ACSRetryCount |
protected org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService_Service |
ars |
protected List<String> |
ARS_URLS |
protected ConfigLoader.Algorithm |
ARSAalgo |
protected org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService |
arsport |
protected int |
ARSRetryCount |
protected ConfigLoader.UnavailableBehavior |
behavior |
protected String |
certinfo |
protected org.miloss.fgsms.services.interfaces.common.SecurityWrapper |
classlevel |
protected org.miloss.fgsms.services.interfaces.dataaccessservice.DataAccessService_Service |
das |
protected org.miloss.fgsms.services.interfaces.dataaccessservice.DataAccessService |
dasport |
protected List<String> |
DCS_URLS |
protected ConfigLoader.Algorithm |
DCSalgo |
protected org.miloss.fgsms.services.interfaces.datacollector.DCS |
dcsport |
protected int |
DCSRetryCount |
protected org.miloss.fgsms.services.interfaces.datacollector.DataCollectorService |
dcsservice |
protected long |
discoveryInterval |
protected String |
javaxkeystore |
protected String |
javaxkeystorepass |
protected String |
javaxtruststore |
protected String |
javaxtruststorepass |
protected org.miloss.fgsms.common.Constants.AuthMode |
mode_ |
protected String |
offlinestorage |
protected String |
password |
protected List<String> |
PCS_URLS |
protected ConfigLoader.Algorithm |
PCSalgo |
protected org.miloss.fgsms.services.interfaces.policyconfiguration.PCS |
pcsport |
protected int |
PCSRetryCount |
protected org.miloss.fgsms.services.interfaces.policyconfiguration.PolicyConfigurationService |
pcsservice |
protected Properties |
prop |
static String |
PROP_MESSAGE_PROCESSOR_IMPL |
protected org.miloss.fgsms.services.interfaces.reportingservice.ReportingService_Service |
rs |
protected List<String> |
RS_URLS |
protected ConfigLoader.Algorithm |
RSAalgo |
protected org.miloss.fgsms.services.interfaces.reportingservice.ReportingService |
rsport |
protected int |
RSRetryCount |
protected org.miloss.fgsms.services.interfaces.status.StatusServiceService |
ss |
protected List<String> |
SS_URLS |
protected ConfigLoader.Algorithm |
SSalgo |
protected org.miloss.fgsms.services.interfaces.status.StatusService |
ssport |
protected int |
SSRetryCount |
protected String |
username |
Constructor and Description |
---|
ConfigLoader()
loads the config from the properties file.
|
ConfigLoader(boolean p)
create an empty config loader object and initializes the client proxy
objects to the initial state, no configuration settings will be
available.
|
ConfigLoader(Properties p)
Allows for setting up the config via a provided properties instance
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getACS_URLS() |
List<String> |
getACSA_URLS() |
ConfigLoader.Algorithm |
getACSAalgo() |
ConfigLoader.Algorithm |
getACSalgo() |
int |
getACSARetryCount() |
int |
getACSRetryCount() |
List<String> |
getARS_URLS() |
ConfigLoader.Algorithm |
getARSAalgo() |
org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService |
getArsport() |
int |
getARSRetryCount() |
ConfigLoader.UnavailableBehavior |
getBehavior() |
String |
getCertinfo() |
org.miloss.fgsms.services.interfaces.common.SecurityWrapper |
getClasslevel() |
List<String> |
getDCS_URLS() |
ConfigLoader.Algorithm |
getDCSalgo() |
org.miloss.fgsms.services.interfaces.datacollector.DCS |
getDcsport() |
int |
getDCSRetryCount() |
org.miloss.fgsms.services.interfaces.datacollector.DataCollectorService |
getDcsservice() |
long |
getDeadMessageQueueDuration() |
List<String> |
getDiscovery_providers()
Returns a list of strings representing the class names of discovery
providers
|
long |
getDiscoveryInterval() |
String |
getJavaxkeystore() |
String |
getJavaxkeystorepass()
encrypted password to the key store
|
String |
getJavaxtruststore() |
String |
getJavaxtruststorepass()
encrypted password to the trust store
|
org.miloss.fgsms.common.Constants.AuthMode |
getMode_() |
String |
getOfflinestorage() |
String |
getPassword()
returns the encrypted password that the agent will use to connect to the
fgsms server as
|
List<String> |
getPCS_URLS() |
ConfigLoader.Algorithm |
getPCSalgo() |
org.miloss.fgsms.services.interfaces.policyconfiguration.PCS |
getPcsport()
an instance of the policy config service client
|
int |
getPCSRetryCount() |
org.miloss.fgsms.services.interfaces.policyconfiguration.PolicyConfigurationService |
getPcsservice()
an instance of the policy config service client
|
Properties |
getProp()
gets a references to the properties file for settings not covered in the
config loads, such as UDDI or FDS
|
List<String> |
getRS_URLS() |
ConfigLoader.Algorithm |
getRSAalgo() |
org.miloss.fgsms.services.interfaces.reportingservice.ReportingService |
getRsport() |
int |
getRSRetryCount() |
List<String> |
getSS_URLS() |
org.miloss.fgsms.services.interfaces.status.StatusServiceService |
getSs()
an instance of the status service client
|
ConfigLoader.Algorithm |
getSSalgo() |
org.miloss.fgsms.services.interfaces.status.StatusService |
getSsport()
an instance of the status service client
|
int |
getSSRetryCount() |
String |
getUsername()
the username used for this agent to connect to the fgsms server as
|
boolean |
isDependencyInjectionEnabled() |
static Properties |
loadProperties()
this is a faster mechanism to initialize the config.
|
public static final String PROP_MESSAGE_PROCESSOR_IMPL
protected org.miloss.fgsms.services.interfaces.common.SecurityWrapper classlevel
protected org.miloss.fgsms.services.interfaces.status.StatusService ssport
protected org.miloss.fgsms.services.interfaces.status.StatusServiceService ss
protected ConfigLoader.Algorithm SSalgo
protected int SSRetryCount
protected org.miloss.fgsms.services.interfaces.policyconfiguration.PolicyConfigurationService pcsservice
protected org.miloss.fgsms.services.interfaces.policyconfiguration.PCS pcsport
protected ConfigLoader.Algorithm PCSalgo
protected int PCSRetryCount
protected org.miloss.fgsms.services.interfaces.datacollector.DataCollectorService dcsservice
protected org.miloss.fgsms.services.interfaces.datacollector.DCS dcsport
protected ConfigLoader.Algorithm DCSalgo
protected int DCSRetryCount
protected ConfigLoader.Algorithm ACSalgo
protected int ACSRetryCount
protected ConfigLoader.Algorithm ACSAalgo
protected int ACSARetryCount
protected org.miloss.fgsms.services.interfaces.reportingservice.ReportingService rsport
protected org.miloss.fgsms.services.interfaces.reportingservice.ReportingService_Service rs
protected org.miloss.fgsms.services.interfaces.dataaccessservice.DataAccessService dasport
protected org.miloss.fgsms.services.interfaces.dataaccessservice.DataAccessService_Service das
protected ConfigLoader.Algorithm RSAalgo
protected int RSRetryCount
protected org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService arsport
protected org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService_Service ars
protected ConfigLoader.Algorithm ARSAalgo
protected int ARSRetryCount
protected Properties prop
protected String username
protected String password
protected String certinfo
protected org.miloss.fgsms.common.Constants.AuthMode mode_
protected long discoveryInterval
protected String offlinestorage
protected ConfigLoader.UnavailableBehavior behavior
protected String javaxtruststore
protected String javaxtruststorepass
protected String javaxkeystore
protected String javaxkeystorepass
public ConfigLoader(Properties p) throws ConfigurationException
p
- ConfigurationException
public ConfigLoader(boolean p) throws ConfigurationException
p
- ignoredConfigurationException
public ConfigLoader() throws ConfigurationException
ConfigurationException
public static Properties loadProperties() throws ConfigurationException
ConfigurationException
public ConfigLoader.Algorithm getRSAalgo()
public int getRSRetryCount()
public int getACSARetryCount()
public ConfigLoader.Algorithm getACSAalgo()
public int getACSRetryCount()
public ConfigLoader.Algorithm getACSalgo()
public ConfigLoader.Algorithm getARSAalgo()
public int getARSRetryCount()
public org.miloss.fgsms.services.interfaces.automatedreportingservice.AutomatedReportingService getArsport()
public org.miloss.fgsms.services.interfaces.reportingservice.ReportingService getRsport()
public String getJavaxkeystore()
public String getJavaxkeystorepass()
public String getJavaxtruststore()
public String getJavaxtruststorepass()
public int getDCSRetryCount()
public ConfigLoader.Algorithm getDCSalgo()
public int getPCSRetryCount()
public ConfigLoader.Algorithm getPCSalgo()
public int getSSRetryCount()
public ConfigLoader.Algorithm getSSalgo()
public ConfigLoader.UnavailableBehavior getBehavior()
public String getCertinfo()
public org.miloss.fgsms.services.interfaces.common.SecurityWrapper getClasslevel()
public org.miloss.fgsms.services.interfaces.datacollector.DCS getDcsport()
public org.miloss.fgsms.services.interfaces.datacollector.DataCollectorService getDcsservice()
public long getDiscoveryInterval()
public org.miloss.fgsms.common.Constants.AuthMode getMode_()
public String getOfflinestorage()
public String getPassword()
public org.miloss.fgsms.services.interfaces.policyconfiguration.PCS getPcsport()
public org.miloss.fgsms.services.interfaces.policyconfiguration.PolicyConfigurationService getPcsservice()
public Properties getProp()
public org.miloss.fgsms.services.interfaces.status.StatusServiceService getSs()
public org.miloss.fgsms.services.interfaces.status.StatusService getSsport()
public String getUsername()
public List<String> getDiscovery_providers()
public long getDeadMessageQueueDuration()
public boolean isDependencyInjectionEnabled()
Copyright © 2008–2017 MIL-OSS. All rights reserved.