public class ConfigurationWatcherImpl extends Object
ConfigurationWatcher that allows bundles
that need to use the Configuration values and easy way to do so by injecting an instance of this
class into the Object via Blueprint (or similar).
This allows Objects to easily use a ConfigurationWatcher
instead of be a ConfigurationWatcher
| Constructor and Description |
|---|
ConfigurationWatcherImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigurationValue(String name)
Deprecated.
will always return null
|
String |
getContactEmailAddress()
Deprecated.
Helper method to get the contact info from the configuration
|
String |
getHostname()
Deprecated.
Helper method to get the hostname or IP from the configuration
|
String |
getOrganization()
Deprecated.
Helper method to get the version from the configuration
|
Integer |
getPort()
Deprecated.
Helper method to get the port from the configuration
|
String |
getProtocol()
Deprecated.
Helper method to get the Protocol which includes the slashes (e.g.
|
String |
getSchemeFromProtocol()
Deprecated.
Helper method to get the Scheme from the Protocol which omits everything after and including
the first ':' (e.g.
|
String |
getSiteName()
Deprecated.
Helper method to get the site name from the configuration
|
String |
getVersion()
Deprecated.
Helper method to get the version from the configuration
|
public String getHostname()
SystemBaseUrl.HOST property namepublic Integer getPort()
SystemBaseUrl.HTTP_PORT or SystemBaseUrl.HTTPS_PORT property depending on the protocolpublic String getProtocol()
SystemBaseUrl.PROTOCOL property namepublic String getSchemeFromProtocol()
SystemBaseUrl.PROTOCOL property namepublic String getSiteName()
SystemInfo.SITE_NAME property namepublic String getVersion()
SystemInfo.VERSION property namepublic String getOrganization()
public String getContactEmailAddress()
SystemInfo.SITE_CONTACT property nameThis work is licensed under a Creative Commons Attribution 4.0 International License.