|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.conf.impl.ConfigurationImpl
public class ConfigurationImpl
ConfigurationImpl
class - implementation of IConfiguration
interface. This class is used for retrieving user custom properties.
Field Summary |
---|
Fields inherited from interface pl.psnc.vlab.conf.IConfiguration |
---|
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 | |
---|---|
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 |
Constructor Detail |
---|
public 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()
getSystemConfDir
in interface IConfiguration
public java.lang.String getAppName()
getAppName
in interface IConfiguration
public java.lang.String getKeyStore()
getKeyStore
in interface IConfiguration
public java.lang.String getKeyStorePasswd()
getKeyStorePasswd
in interface IConfiguration
public java.lang.String getTrustStore()
getTrustStore
in interface IConfiguration
public java.lang.String getTrustStorePasswd()
getTrustStorePasswd
in interface IConfiguration
public java.lang.String getCommProxyLocation()
getCommProxyLocation
in interface IConfiguration
public java.lang.String getAuthModuleLocation()
getAuthModuleLocation
in interface IConfiguration
public java.lang.String getMonitoringModuleLocation()
getMonitoringModuleLocation
in interface IConfiguration
public java.lang.String getGlobalSchedulerModuleLocation()
getGlobalSchedulerModuleLocation
in interface IConfiguration
public java.lang.String getSMMModuleLocation()
getSMMModuleLocation
in interface IConfiguration
public java.lang.String getSZDModuleLocation()
getSZDModuleLocation
in interface IConfiguration
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface IConfiguration
key
- the name of the property key @ the VlabException is thrown
when the key is not found
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |