Interface JolokiaServiceLookup
- All Known Implementing Classes:
OsgiJolokiaServiceFactory
public interface JolokiaServiceLookup
Interface for a service factory which is consulted every time services
are required. This factory can be used for dynamic services which
can come and go.
- Since:
- 21.04.13
- Author:
- roland
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Lifecycle method when the service manager stops<T extends JolokiaService<?>>
Set<T>getServices(Class<T> pType) Get the current list of available services for a certain type.voidinit(JolokiaContext pJolokiaContext) Lifecycle method called when the service managed starts up
-
Method Details
-
getServices
Get the current list of available services for a certain type.- Parameters:
pType- type for which to get the services- Returns:
- set of services for the required type or an empty set
-
init
Lifecycle method called when the service managed starts up- Parameters:
pJolokiaContext- created context
-
destroy
void destroy()Lifecycle method when the service manager stops
-