public class CacheWriteAttributeHandler extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static CacheWriteAttributeHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation)
An attribute write handler which performs special processing for ALIAS attributes.
|
protected AttributeDefinition |
getAttributeDefinition(String attributeName) |
static org.infinispan.configuration.cache.CacheMode |
getCacheMode(org.jboss.dmr.ModelNode operation) |
void |
registerAttributes(ManagementResourceRegistration registry) |
protected boolean |
requiresRuntime(OperationContext context)
Gets whether a
OperationContext.Stage.RUNTIME handler should be added. |
public static final CacheWriteAttributeHandler INSTANCE
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlercontext - the operation contextoperation - the operation being executedOperationFailedExceptionprotected boolean requiresRuntime(OperationContext context)
OperationContext.Stage.RUNTIME handler should be added. This default implementation
returns true if the OperationContext.getProcessType() process type} is
a server and context.isBooting() returns false.context - operation contexttrue if a runtime stage handler should be added; false otherwise.protected AttributeDefinition getAttributeDefinition(String attributeName)
public void registerAttributes(ManagementResourceRegistration registry)
public static org.infinispan.configuration.cache.CacheMode getCacheMode(org.jboss.dmr.ModelNode operation)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.