Package org.teiid.jboss
Class BaseOperationHandler<T>
- java.lang.Object
-
- org.teiid.jboss.BaseOperationHandler<T>
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public abstract class BaseOperationHandler<T> extends Object implements org.jboss.as.controller.OperationStepHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseOperationHandler(String operationName)
protected
BaseOperationHandler(String operationName, boolean changesRuntime)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
MISSING
protected static final String MISSING
- See Also:
- Constant Field Values
-
REPLY
protected static final String REPLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration subsystem)
-
name
public String name()
-
isChangesRuntimes
public boolean isChangesRuntimes()
-
execute
public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
- Specified by:
execute
in interfaceorg.jboss.as.controller.OperationStepHandler
- Throws:
org.jboss.as.controller.OperationFailedException
-
getService
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
- Throws:
org.jboss.as.controller.OperationFailedException
-
getOperationDefinition
public org.jboss.as.controller.OperationDefinition getOperationDefinition()
-
executeOperation
protected abstract void executeOperation(org.jboss.as.controller.OperationContext context, T service, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
- Throws:
org.jboss.as.controller.OperationFailedException
-
describeParameters
protected void describeParameters(org.jboss.as.controller.SimpleOperationDefinitionBuilder builder)
-
-