public abstract class BaseOperationHandler<T> extends Object implements org.jboss.as.controller.OperationStepHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
MISSING |
protected static String |
REPLY |
Modifier | Constructor and Description |
---|---|
protected |
BaseOperationHandler(String operationName) |
protected |
BaseOperationHandler(String operationName,
boolean changesRuntime) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeParameters(org.jboss.as.controller.SimpleOperationDefinitionBuilder builder) |
void |
execute(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation) |
protected abstract void |
executeOperation(org.jboss.as.controller.OperationContext context,
T service,
org.jboss.dmr.ModelNode operation) |
org.jboss.as.controller.OperationDefinition |
getOperationDefinition() |
protected T |
getService(org.jboss.as.controller.OperationContext context,
org.jboss.as.controller.PathAddress pathAddress,
org.jboss.dmr.ModelNode operation) |
boolean |
isChangesRuntimes() |
String |
name() |
void |
register(org.jboss.as.controller.registry.ManagementResourceRegistration subsystem) |
protected static final String MISSING
protected static final String REPLY
protected BaseOperationHandler(String operationName)
protected BaseOperationHandler(String operationName, boolean changesRuntime)
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration subsystem)
public String name()
public boolean isChangesRuntimes()
public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
execute
in interface org.jboss.as.controller.OperationStepHandler
org.jboss.as.controller.OperationFailedException
protected T getService(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.PathAddress pathAddress, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
public org.jboss.as.controller.OperationDefinition getOperationDefinition()
protected abstract void executeOperation(org.jboss.as.controller.OperationContext context, T service, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
protected void describeParameters(org.jboss.as.controller.SimpleOperationDefinitionBuilder builder)
Copyright © 2019. All rights reserved.