public class RemoveAliasCommand extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static RemoveAliasCommand |
INSTANCE |
| Constructor and Description |
|---|
RemoveAliasCommand() |
| 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 boolean |
requiresRuntime(OperationContext context)
Gets whether a
OperationContext.Stage.RUNTIME handler should be added. |
public static final RemoveAliasCommand 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.Copyright © 2014 JBoss by Red Hat. All rights reserved.