|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteServiceLocator
A component with which one or more services are registered.
The services can be retrieved from this locator using some key --
typically the class representing the interface the service must implement.
For example:
IRemoteMyService service = (IRemoteMyService) workbenchWindow.getService(IRemoteMyService.class);
Method Summary | |
---|---|
java.lang.Object |
getService(java.lang.Class api)
Retrieves the service corresponding to the given API. |
boolean |
hasService(java.lang.Class api)
Whether this service exists within the scope of this service locator. |
Method Detail |
---|
java.lang.Object getService(java.lang.Class api) throws RemoteEclipseAPIException
api
- This is the interface that the service implements. Must not be null.
RemoteEclipseAPIException
boolean hasService(java.lang.Class api) throws RemoteEclipseAPIException
api
- This is the interface that the service implements. Must not be null.
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |