org.ehcache.management.providers.actions
Class EhcacheActionProvider
java.lang.Object
org.ehcache.management.providers.AbstractActionProvider<Ehcache,EhcacheActionWrapper>
org.ehcache.management.providers.actions.EhcacheActionProvider
- All Implemented Interfaces:
- ManagementProvider<Ehcache>
public class EhcacheActionProvider
- extends AbstractActionProvider<Ehcache,EhcacheActionWrapper>
Method Summary |
java.lang.Object |
callAction(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String methodName,
java.lang.String[] argClassNames,
java.lang.Object[] args)
Call an action, if the provider supports this. |
org.terracotta.management.capabilities.context.CapabilityContext |
capabilityContext()
Get the context that the provided capabilities need to run. |
protected EhcacheActionWrapper |
createActionWrapper(Ehcache ehcache)
|
java.lang.Class<Ehcache> |
managedType()
The class of managed objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheActionProvider
public EhcacheActionProvider()
managedType
public java.lang.Class<Ehcache> managedType()
- Description copied from interface:
ManagementProvider
- The class of managed objects.
- Returns:
- a class.
createActionWrapper
protected EhcacheActionWrapper createActionWrapper(Ehcache ehcache)
- Specified by:
createActionWrapper
in class AbstractActionProvider<Ehcache,EhcacheActionWrapper>
capabilityContext
public org.terracotta.management.capabilities.context.CapabilityContext capabilityContext()
- Description copied from interface:
ManagementProvider
- Get the context that the provided capabilities need to run.
- Returns:
- the context requirements.
callAction
public java.lang.Object callAction(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String methodName,
java.lang.String[] argClassNames,
java.lang.Object[] args)
- Description copied from interface:
ManagementProvider
- Call an action, if the provider supports this.
- Parameters:
context
- the context.methodName
- the method name.argClassNames
- the class names of the method arguments.args
- the method arguments.
- Returns:
- the action's return value.