|
VLab Common 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.conf.ConfigurationImpl
public class ConfigurationImpl
ConfigurationImpl
class - implementation of Configuration
interface.
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
keysValues
Stores the values of configuration keys |
Fields inherited from interface pl.psnc.vlab.conf.Configuration |
---|
KEY_APP_CONF_DIR, KEY_APP_NAME, KEY_AUTH_MODULE_LOCATION, KEY_COMM_PROXY_LOCATION, KEY_GS_MODULE_LOCATION, KEY_KEYSTORE, KEY_KEYSTORE_PASSWD, KEY_MON_MODULE_LOCATION, KEY_SMM_MODULE_LOCATION, KEY_SZD_MODULE_LOCATION, KEY_TRUSTSTORE, KEY_TRUSTSTORE_PASSWD |
Constructor Summary | |
---|---|
protected |
ConfigurationImpl(java.lang.String appConfig)
Creates a new instance of ConfigurationImpl |
Method Summary | |
---|---|
java.lang.String |
getAppName()
Get application name |
java.lang.String |
getAuthModuleLocation()
Get Authentication Module Location |
java.lang.String |
getCommProxyLocation()
Get Communication Proxy Module |
java.lang.String |
getGlobalSchedulerModuleLocation()
Get Global Scheduler Module Location |
java.lang.String |
getKeyStore()
Get keystore for the application |
java.lang.String |
getKeyStorePasswd()
Get keystore password |
java.lang.String |
getMonitoringModuleLocation()
Get Monitoring Module Location |
java.lang.String |
getProperty(java.lang.String key)
The custom property getter method by the given key name |
java.lang.String |
getSMMModuleLocation()
Get SMM Module Location |
java.lang.String |
getSystemConfDir()
Returns the absolute path to the folder, where all the configuration settings is stored. |
java.lang.String |
getSZDModuleLocation()
Get SZD Module Location |
java.lang.String |
getTrustStore()
Get truststore for the application |
java.lang.String |
getTrustStorePasswd()
Get truststore password |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<java.lang.String,java.lang.String> keysValues
Constructor Detail |
---|
protected ConfigurationImpl(java.lang.String appConfig) throws VlabException
appConfig
- a path to the file, which contains the app configuration
(as a properties)
VlabException
Method Detail |
---|
public java.lang.String getSystemConfDir() throws VlabException
getSystemConfDir
in interface Configuration
VlabException
public java.lang.String getAppName() throws VlabException
getAppName
in interface Configuration
VlabException
public java.lang.String getKeyStore() throws VlabException
getKeyStore
in interface Configuration
VlabException
public java.lang.String getKeyStorePasswd() throws VlabException
getKeyStorePasswd
in interface Configuration
VlabException
public java.lang.String getTrustStore() throws VlabException
getTrustStore
in interface Configuration
VlabException
public java.lang.String getTrustStorePasswd() throws VlabException
getTrustStorePasswd
in interface Configuration
VlabException
public java.lang.String getCommProxyLocation() throws VlabException
getCommProxyLocation
in interface Configuration
VlabException
public java.lang.String getAuthModuleLocation() throws VlabException
getAuthModuleLocation
in interface Configuration
VlabException
public java.lang.String getMonitoringModuleLocation() throws VlabException
getMonitoringModuleLocation
in interface Configuration
VlabException
public java.lang.String getGlobalSchedulerModuleLocation() throws VlabException
getGlobalSchedulerModuleLocation
in interface Configuration
VlabException
public java.lang.String getSMMModuleLocation() throws VlabException
getSMMModuleLocation
in interface Configuration
VlabException
public java.lang.String getSZDModuleLocation() throws VlabException
getSZDModuleLocation
in interface Configuration
VlabException
public java.lang.String getProperty(java.lang.String key) throws VlabException
getProperty
in interface Configuration
key
- the name of the property key
VlabException
- the VlabException is thrown when the key is not
found
|
VLab Common 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |