Class eclipse.Service
A ServiceReference enables services to be called and released.
Defined in: </shared/eclipse/e4/orion/I201101261045/plugins/org.eclipse.orion.client.core/static/js/registry.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
eclipse.Service(serviceReference, registry, onLoadCallback)
A ServiceReference enables services to be called and released.
|
Method Attributes | Method Name and Description |
---|---|
addEventListener(eventType, eventListener)
|
|
invoke(methodName, params, callback)
|
|
removeEventListener(eventType, eventListener)
|
Class Detail
eclipse.Service(serviceReference, registry, onLoadCallback)
A ServiceReference enables services to be called and released.
- Parameters:
- serviceReference
- registry
- onLoadCallback
Method Detail
addEventListener(eventType, eventListener)
- Parameters:
- eventType
- eventListener
invoke(methodName, params, callback)
- Parameters:
- methodName
- params
- callback
removeEventListener(eventType, eventListener)
- Parameters:
- eventType
- eventListener