Class Index | File Index

Classes


Class orion.serviceregistry.ServiceReference

A reference to a 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.ServiceReference(serviceId, name, properties)
Creates a new service reference.
Method Summary
Method Attributes Method Name and Description
 
Returns the name of the service this reference provides.
 
getProperty(propertyName)
Returns the declarative service property with the given name, or undefined if this service does not have such a property.
 
Returns the names of the declarative properties of this service.
 
Returns the symbolic id of this service.
Class Detail
orion.serviceregistry.ServiceReference(serviceId, name, properties)
Creates a new service reference.
Parameters:
{String} serviceId
The symbolic id of this service instance
{String} name
The service name
{Object} properties
A JSON object containing the service's declarative properties
Method Detail
getName()
Returns the name of the service this reference provides.

getProperty(propertyName)
Returns the declarative service property with the given name, or undefined if this service does not have such a property.
Parameters:
{String} propertyName
The name of the service property to return

getPropertyNames()
Returns the names of the declarative properties of this service.

getServiceId()
Returns the symbolic id of this service.

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