public abstract class AbstractJMSRuntimeHandler<T> extends AbstractRuntimeOnlyHandler
| Constructor and Description |
|---|
AbstractJMSRuntimeHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
executeReadAttribute(String attributeName,
OperationContext context,
T destination,
PathAddress address,
boolean includeDefault) |
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME. |
void |
registerResource(String server,
String name,
T resource) |
void |
unregisterResource(String server,
String name) |
execute, resourceMustExist, waitForprotected void executeRuntimeStep(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
AbstractRuntimeOnlyHandlerOperationContext.Stage.RUNTIME.
If the operation fails, context.getFailureDescroption()
must be called, or OperationFailedException must be thrown, before calling one of the
context.completeStep variants.
If the operation succeeded, context.getResult() should
be called and the result populated with the outcome, after which one of the
context.completeStep variants
must be called.executeRuntimeStep in class AbstractRuntimeOnlyHandlercontext - the operation contextoperation - the operation being executedOperationFailedException - if the operation failed before calling context.completeStep()protected abstract void executeReadAttribute(String attributeName, OperationContext context, T destination, PathAddress address, boolean includeDefault)
Copyright © 2014 JBoss by Red Hat. All rights reserved.