Class Index | File Index

Classes


Class orion.serviceregistry.Service

A concrete service in the Orion service registry
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.core/web/orion/serviceregistry.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.serviceregistry.Service(serviceId, implementation, internalRegistry)
Creates a new service instance.
Method Summary
Method Attributes Method Name and Description
 
addEventListener(eventName, listener)
Adds a listener to this service for a particular event.
 
removeEventListener(eventName, listener)
Stops a listener from listening to a particular event on this service.
Class Detail
orion.serviceregistry.Service(serviceId, implementation, internalRegistry)
Creates a new service instance.
Parameters:
{String} serviceId
The symbolic id of this service
{Object} implementation
An object implementing the service contract
{orion.serviceregistry.ServiceRegistry} internalRegistry
A JSON object containing the service's declarative properties
Method Detail
addEventListener(eventName, listener)
Adds a listener to this service for a particular event.
Parameters:
{String} eventName
The name of the event to listen for
{Object} listener
The event listener

removeEventListener(eventName, listener)
Stops a listener from listening to a particular event on this service.
Parameters:
{String} eventName
The name of the event to listen for
{Object} listener
The event listener

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jul 20 2011 02:04:43 GMT-0400 (EDT)