Class orion.cm.ManagedService
Interface for a service that needs configuration data.
Defined in: </shared/eclipse/e4/orion/I201302221257/plugins/org.eclipse.orion.client.core/web/orion/config.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
A
ManagedService is a service that needs configuration properties from a orion.cm.ConfigurationAdmin. |
Method Attributes | Method Name and Description |
---|---|
updated(properties)
Invoked after a Configuration has been updated.
|
Class Detail
orion.cm.ManagedService()
A
ManagedService
is a service that needs configuration properties from a orion.cm.ConfigurationAdmin.
A ManagedService is registered with the Service Registry using the service name 'orion.cm.managedservice'
.
The ManagedService's service properties must contain a pid
property giving a unique identifier called a PID.
When a change occurs to a Configuration object corresponding to the PID, the service's #updated method is called with the configuration's properties.
Method Detail
updated(properties)
Invoked after a Configuration has been updated.
- Parameters:
- {orion.cm.ConfigurationProperties} properties
- The properties of the orion.cm.Configuration that was
updated. This parameter will be
null
if the Configuration does not exist or was deleted.