Interface ConfigurationProperties
-
public interface ConfigurationPropertiesEncapsulates theConfiguration at the SPI layerand uses reflection to identify the individual properties that are available for an application to manipulate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationPropertygetProperty(java.lang.String name)Get a particularConfigurationPropertyby name.java.util.List<java.lang.String>getPropertyNames()Get the list of properties names for thisConfiguration.voidsetPropertyValue(java.lang.String name, java.lang.Object value)Set the value of theConfigurationproperty by name.
-
-
-
Method Detail
-
getPropertyNames
java.util.List<java.lang.String> getPropertyNames()
Get the list of properties names for thisConfiguration.- Returns:
- a list containing the names of properties that an application can configure for a connector.
-
getProperty
ConfigurationProperty getProperty(java.lang.String name)
Get a particularConfigurationPropertyby name.- Parameters:
name- the unique name of the property.- Returns:
- a
ConfigurationPropertyif it exists otherwise null.
-
setPropertyValue
void setPropertyValue(java.lang.String name, java.lang.Object value)Set the value of theConfigurationproperty by name.- Parameters:
name- Name of the property to set the value against.value- Value to set on the configuration property.- Throws:
java.lang.IllegalArgumentException- if the property name does not exist.
-
-