public class ConfigurationPropertiesObject
extends java.lang.Object
| Constructor and Description |
|---|
ConfigurationPropertiesObject()
Constructor to create a new empty @ConfigurationPropertiesObject
|
ConfigurationPropertiesObject(java.util.Hashtable completeConfiguration)
Constructor to create a new @ConfigurationPropertiesObject from a @Hashtable
|
ConfigurationPropertiesObject(java.lang.String[] names,
java.lang.Object[] configurations)
Constructor to create a new @ConfigurationPropertiesObject from an array of bundle symbolic
names and an array of @Object representing their respective configurations
|
ConfigurationPropertiesObject(java.lang.String name,
java.lang.Object newConfiguration)
Constructor to create a new @ConfigurationPropertiesObject that contains one bundle and
configuration
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(java.lang.String name,
java.lang.Object configuration)
Adds a new bundle and configuration to this @ConfigurationPropertiesObject
|
java.util.Hashtable |
getConfiguration()
Gets the @Hashtable representing this @ConfigurationPropertiesObject
|
void |
removeConfiguration(java.lang.String name)
Removes a configuration from the @ConfiguraitonPropertiesObject by bundle name
|
public ConfigurationPropertiesObject(java.util.Hashtable completeConfiguration)
throws java.lang.Exception
completeConfiguration - a @ConfigurationPropertiesObject in the
form of a @Hasthablejava.lang.Exception - if the @Hashtable is malformedpublic ConfigurationPropertiesObject(java.lang.String[] names,
java.lang.Object[] configurations)
throws java.lang.Exception
names - an array of bundle symbolic namesconfigurations - an array of @Object configurations that map to to one to the symbolic
bundle names in the first arrayjava.lang.Exception - if the data is malformedpublic ConfigurationPropertiesObject(java.lang.String name,
java.lang.Object newConfiguration)
name - the name of the bundle to addnewConfiguration - the @Object representing the configurationpublic ConfigurationPropertiesObject()
public void addConfiguration(java.lang.String name,
java.lang.Object configuration)
name - the name of the bundle to addconfiguration - the @Object representing the configurationpublic void removeConfiguration(java.lang.String name)
throws java.lang.Throwable
name - the symbolic name of the bundle to addjava.lang.Throwable - if the bundle symbolic name does not exist in this ConfigurationPropertiesObjectpublic java.util.Hashtable getConfiguration()
Copyright © 2009 Eurotech Inc. All rights reserved.