|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.remoteservice.rest.RestServiceRegistration
public class RestServiceRegistration
This class acts as the registration for RestServices.
| Constructor Summary | |
|---|---|
RestServiceRegistration(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getClazzes()
|
ID |
getContainerID()
Get the container ID for the registration |
IRemoteServiceID |
getID()
Get the remote service ID for this registration. |
java.lang.Object |
getProperty(java.lang.String key)
Get property associated with given key |
java.lang.String[] |
getPropertyKeys()
Get property keys for registered service |
IRemoteServiceReference |
getReference()
Get reference for this registration |
IRemoteService |
getService()
|
void |
setProperties(java.util.Dictionary properties)
Set the properties for the registered service |
void |
unregister()
Unregister this service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestServiceRegistration(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
| Method Detail |
|---|
public java.lang.String[] getClazzes()
public ID getContainerID()
IRemoteServiceRegistration
getContainerID in interface IRemoteServiceRegistrationnull .public IRemoteServiceID getID()
IRemoteServiceRegistrationnull.
getID in interface IRemoteServiceRegistrationpublic java.lang.Object getProperty(java.lang.String key)
IRemoteServiceRegistration
getProperty in interface IRemoteServiceRegistrationkey - the key of the property. Must not be null.
null if property not
found.public java.lang.String[] getPropertyKeys()
IRemoteServiceRegistration
getPropertyKeys in interface IRemoteServiceRegistrationpublic IRemoteService getService()
public IRemoteServiceReference getReference()
IRemoteServiceRegistration
getReference in interface IRemoteServiceRegistrationnull.public void setProperties(java.util.Dictionary properties)
IRemoteServiceRegistration
setProperties in interface IRemoteServiceRegistrationproperties - to set. Must not be null.public void unregister()
IRemoteServiceRegistration
unregister in interface IRemoteServiceRegistration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||