|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementRegistry
Repository of objects exposing capabilities via the management and monitoring facilities.
Method Summary | ||
---|---|---|
|
callAction(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String capabilityName,
java.lang.String methodName,
java.lang.String[] argClassNames,
java.lang.Object[] args)
Call an action of a managed object's capability. |
|
|
capabilities()
Get the management capabilities of the registered objects. |
|
|
collectStatistics(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String capabilityName,
java.lang.String... statisticNames)
Collect statistics from a managed object's capability. |
|
|
contexts()
Get the management contexts required to make use of the registered objects' capabilities. |
|
|
register(java.lang.Class<T> managedType,
T managedObject)
Register an object in the management registry. |
|
|
unregister(java.lang.Class<T> managedType,
T managedObject)
Unregister an object from the management registry. |
Methods inherited from interface org.ehcache.spi.service.Service |
---|
start, stop |
Method Detail |
---|
<T> void register(java.lang.Class<T> managedType, T managedObject)
T
- the type.managedType
- the managed object's class.managedObject
- the managed object.<T> void unregister(java.lang.Class<T> managedType, T managedObject)
T
- the type.managedType
- the managed object's class.managedObject
- the managed object.<T> java.util.Collection<T> capabilities()
T
- the capability type.
<T> java.util.Collection<T> contexts()
T
- the context type.
<T> java.util.Collection<T> collectStatistics(java.util.Map<java.lang.String,java.lang.String> context, java.lang.String capabilityName, java.lang.String... statisticNames)
T
- the statistics' type.context
- the capability's context.capabilityName
- the capability name.statisticNames
- the statistic names.
<T> T callAction(java.util.Map<java.lang.String,java.lang.String> context, java.lang.String capabilityName, java.lang.String methodName, java.lang.String[] argClassNames, java.lang.Object[] args)
T
- the returned type.context
- the capability's context.capabilityName
- the capability name.methodName
- the action's method name.argClassNames
- the action method's argument class names.args
- the action method's arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |