public class CacheContainerWriteAttributeHandler extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static CacheContainerWriteAttributeHandler |
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) |
void |
registerAttributes(ManagementResourceRegistration registry) |
protected boolean |
requiresRuntime(OperationContext context)
Gets whether a
OperationContext.Stage#RUNTIME handler should be added. |
public static final CacheContainerWriteAttributeHandler 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)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.