public interface AdvancedPropertiesConfiguration
Title: Service Event Fabric Runtime
Description: This interface encalsupaltes the Advanced Configuration Properties
.
Advanced properties are used to configure the behavior of a specific service within the context of its hosting container and execution environment. Because such properties are optional and used to drive implementation-specific behavior they are presented as simple key-value pairs and are separate from the service's core configuration.
Each property has a name, value, label and description. They are stored in the registry. The key naming convention follows basic naming conventions, disallowing most special characters with he exception of '.', allowing for use of standard dotted-notation for properties. It is expected that advanced properties are dynamically added to the configuration based on the capabilities of a service.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
addAdvancedProperty(ConfigurationProperty property)
Adds an advanced property to the configuration.
|
boolean |
existsAdvancedProperty(java.lang.String propertyName)
Returns
true if this configuration has a specific advanced property. |
java.util.List |
getAdvancedProperties()
Returns an enumeration of advanced property objects.
|
ConfigurationProperty |
getAdvancedProperty(java.lang.String propertyName)
Returns the
ConfigurationProperty object for a given property. |
boolean |
hasAdvancedProperties()
Returns
true if this configuration has advanced properties defined. |
java.util.List |
listAdvancedProperties()
Lists all the property names.
|
java.lang.String |
lookupAdvancedProperty(java.lang.String propertyName)
Returns the value of a particular property or
null if the property does not exist. |
void |
removeAdvancedProperty(java.lang.String propertyName)
Removes an advanced property from the configuration.
|
void |
removeAllAdvancedProperties()
Removes all the advanced properties from a given configuration.
|
void addAdvancedProperty(ConfigurationProperty property)
property
- ConfigurationPropertyvoid removeAdvancedProperty(java.lang.String propertyName)
propertyName
- Stringjava.util.List getAdvancedProperties()
java.util.List listAdvancedProperties()
java.lang.String lookupAdvancedProperty(java.lang.String propertyName)
null
if the property does not exist.propertyName
- StringConfigurationProperty getAdvancedProperty(java.lang.String propertyName)
ConfigurationProperty
object for a given property. Returns
null
if the property does not exist.propertyName
- Stringvoid removeAllAdvancedProperties()
boolean hasAdvancedProperties()
true
if this configuration has advanced properties defined.boolean existsAdvancedProperty(java.lang.String propertyName)
true
if this configuration has a specific advanced property.propertyName
- StringCopyright © 2015-2024 StreamScape Technologies. All rights reserved.