|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.core.ConfigurableObject
public class ConfigurableObject
| Field Summary | |
|---|---|
static java.lang.String |
BUNDLE_VERSION_PROPERTY
Define the bundle version property (String) constant. |
| Constructor Summary | |
|---|---|
ConfigurableObject()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
static java.util.Hashtable |
createPropertiesFromHeaders(java.util.Dictionary headers)
Create properties from headers with the specified headers parameter and return the Hashtable result. |
java.util.Dictionary |
getConfigurationInformation()
Return the property table. |
ConfigurationService |
getConfigurationService()
Gets the configuration service value. |
java.lang.String |
getId()
Gets the ID (String) value. |
void |
putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
Put configuration information with the specified property name and value parameters. |
void |
setConfigurationInformation(java.util.Dictionary configurationInformation)
Sets the configuration information value. |
void |
setConfigurationService(ConfigurationService configurationService)
Sets the configuration service value. |
void |
setId(java.lang.String id)
Sets the ID value. |
static void |
validateConfiguration(java.lang.String pid,
java.util.Dictionary properties,
org.osgi.service.metatype.MetaTypeInformation info)
Validate configuration with the specified PID, properties and info parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUNDLE_VERSION_PROPERTY
| Constructor Detail |
|---|
public ConfigurableObject()
| Method Detail |
|---|
public static java.util.Hashtable createPropertiesFromHeaders(java.util.Dictionary headers)
headers - The headers (Dictionary) parameter.
Hashtable) value.
public static void validateConfiguration(java.lang.String pid,
java.util.Dictionary properties,
org.osgi.service.metatype.MetaTypeInformation info)
throws org.osgi.service.cm.ConfigurationException
pid - The PID (String) parameter.properties - The properties (Dictionary) parameter.info - The info (MetaTypeInformation) parameter.
org.osgi.service.cm.ConfigurationException - Configuration Exception.public java.util.Dictionary getConfigurationInformation()
getConfigurationInformation in interface ConfigurableServiceDictionary)putConfigurationInformation(String,Object),
setConfigurationInformation(Dictionary)public ConfigurationService getConfigurationService()
getConfigurationService in class EscObjectConfigurationService)setConfigurationService(ConfigurationService)public java.lang.String getId()
getId in class EscObjectString) value.setId(String)
public void putConfigurationInformation(java.lang.String propertyName,
java.lang.Object value)
propertyName - The property name (String) parameter.value - The value (Object) parameter.getConfigurationInformation(),
setConfigurationInformation(Dictionary)public void setConfigurationInformation(java.util.Dictionary configurationInformation)
setConfigurationInformation in interface ConfigurableServiceconfigurationInformation - The configuration information (Dictionary) parameter.getConfigurationInformation(),
putConfigurationInformation(String,Object)public void setConfigurationService(ConfigurationService configurationService)
configurationService - The configuration service (ConfigurationService) parameter.getConfigurationService()public void setId(java.lang.String id)
id - The ID (String) parameter.getId()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||