Class orion.serviceregistry.ServiceEvent
A service event
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/serviceregistry.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.serviceregistry.ServiceEvent(type, serviceReference)
An event that is fired from the service registry.
|
Class Detail
orion.serviceregistry.ServiceEvent(type, serviceReference)
An event that is fired from the service registry. Clients must register to listen to events using
the orion.serviceregistry.ServiceRegistry#addEventListener function.
There are three types of events that this registry will send:
There are three types of events that this registry will send:
- modified - the service has been modified
- registered - the service has been registered
- unregistering - the service is unregistering
- Parameters:
- {String} type
- The type of the event, one of
modified
,registered
orunregistered
- {orion.serviceregistry.ServiceReference} serviceReference
- the service reference the event is for