Class orion.serviceregistry.ServiceRegistration
A reference to a registered service in the Orion service registry
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.core/web/orion/serviceregistry.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.serviceregistry.ServiceRegistration(serviceId, serviceReference, internalRegistry)
Creates a new service registration
|
Method Attributes | Method Name and Description |
---|---|
dispatchEvent(eventName)
Dispatches an event to this service.
|
|
Returns a reference to this registered service.
|
|
Unregister this service registration.
|
Class Detail
orion.serviceregistry.ServiceRegistration(serviceId, serviceReference, internalRegistry)
Creates a new service registration
Method Detail
dispatchEvent(eventName)
Dispatches an event to this service.
- Parameters:
- {String} eventName
- The name of the service event
getServiceReference()
Returns a reference to this registered service.
unregister()
Unregister this service registration.