|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteServiceHost
| Method Summary | |
|---|---|
void |
addRemoteServiceListener(IRemoteServiceListener listener)
Add listener for remote service registration/unregistration for this container |
IRemoteServiceID |
getRemoteServiceID(ID containerID,
long containerRelativeID)
Get a remote service ID from a containerID and a containerRelative long value. |
Namespace |
getRemoteServiceNamespace()
Get namespace to use for this remote service provider. |
IRemoteServiceRegistration |
registerRemoteService(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary properties)
Register a new remote service. |
void |
removeRemoteServiceListener(IRemoteServiceListener listener)
Remove remote service registration/unregistration listener for this container. |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
|---|
IRemoteServiceRegistration registerRemoteService(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary properties)
clazzes - the interface classes that the service exposes to remote
clients. Must not be null and must not be an
empty array.service - the service object. Under normal conditions this object must
nullnull is if
the service property Constants.SERVICE_REGISTER_PROXY is set
in the properties. If Constants.SERVICE_REGISTER_PROXY is set
in the properties parameter (to an arbitrary value), then the service
object may then be null.properties - to be associated with service
null .void addRemoteServiceListener(IRemoteServiceListener listener)
listener - notified of service registration/unregistration events. Must
not be null .void removeRemoteServiceListener(IRemoteServiceListener listener)
listener - to remove. Must not be null .Namespace getRemoteServiceNamespace()
null.
IRemoteServiceID getRemoteServiceID(ID containerID,
long containerRelativeID)
null
if not.
containerID - the containerID that is the server/host for the remote service. Must not be null. This
must be the containerID for the server/host of the remote service.containerRelativeID - the long value identifying the remote service relative to the container ID.
null if it is not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||