|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The service broker provides access to all services created by the modules.
The service broker instance can be accessed using the module manager's
method ModuleManager.getServiceBroker()
.
ServiceBroker
Method Summary | |
java.util.List |
getActiveServices(java.lang.Class serviceType)
Returns all services of the given type that are currently active. |
Service |
getService(java.lang.Class serviceType)
Returns a Service instance of the given type that is currently active. |
java.util.List |
getServices(java.lang.Class serviceType)
Returns all services of the given type that are registered. |
Method Detail |
public java.util.List getServices(java.lang.Class serviceType)
serviceType
- The type of service for which all registered instances
should be returned.
public java.util.List getActiveServices(java.lang.Class serviceType)
serviceType
- The type of service for which all registered instances
that are currently active should be returned.
public Service getService(java.lang.Class serviceType)
serviceType
- The type of service for which a registered instance
that is currently active should be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |