Class orion.cm.Configuration
The configuration information for a orion.cm.ManagedService.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/config.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
A
Configuration object contains configuration properties. |
Method Attributes | Method Name and Description |
---|---|
getPid()
|
|
remove()
Deletes this Configuration.
|
|
update(properties)
Updates the properties of this Configuration.
|
Class Detail
orion.cm.Configuration()
A
Configuration
object contains configuration properties. Services wishing to receive those
properties do not deal with Configurations directly, but instead register a orion.cm.ManagedService with the
Service Registry.
Method Detail
{String}
getPid()
- Returns:
- {String} The PID of this Configuration.
{orion.cm.ConfigurationProperties}
getProperties()
- Returns:
- {orion.cm.ConfigurationProperties} A private copy of this Configuration's properties, or
null
if the configuration has never been updated.
remove()
Deletes this Configuration. Any orion.cm.ManagedService that registered interest in this
Configuration's PID will have its orion.cm.ManagedService#updated method called with
null
properties.
update(properties)
Updates the properties of this Configuration. Any orion.cm.ManagedService that registered
interest in this Configuration's PID will have its orion.cm.ManagedService#updated method called.
- Parameters:
- {Object} properties Optional
- The new properties to be set in this Configuration. The
pid
property will be added or overwritten and set to this Configuration's PID.