|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that represents a plugin's view of the rest of the world. This object is passed to the methods of PluginInitializer, and can be used to obtain access to other APIs in the system. It will only allow access to those APIs that a plugin declares it wants to use in its PluginInfo.
All implementations must be thread-safe.
Method Summary | |
APIProvider |
getAPI(Class apiClass)
Get an API provider for the given name |
ObjectSet |
getAvailableAPIs()
Get an ObjectSet of the available APIs as APIProvider objects. |
ObjectSet |
getUsersOfAPI(Class apiClass)
Get an ObjectSet of ids of plugins currently linked to the given API provided by this plugin. |
Method Detail |
public APIProvider getAPI(Class apiClass)
apiClass
- the requested api class.
public ObjectSet getAvailableAPIs()
public ObjectSet getUsersOfAPI(Class apiClass)
apiClass
- a class representing an API provided by this plugin.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |