public class ConnectionFactoryReadAttributeHandler extends AbstractRuntimeOnlyHandler
read-attribute operation for runtime attributes exposed by a HornetQ
ConnectionFactoryControl.
THIS SHOULD NOT INCLUDE ATTRIBUTES THAT ARE PART OF THE PERSISTENT CONFIGURATION. Those are
handled by ConnectionFactoryWriteAttributeHandler, since all persistent attributes
are writable (even those that require a restart to take effect in the runtime.)| Modifier and Type | Field and Description |
|---|---|
static ConnectionFactoryReadAttributeHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME. |
execute, resourceMustExist, waitForpublic static final ConnectionFactoryReadAttributeHandler INSTANCE
public 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()Copyright © 2014 JBoss by Red Hat. All rights reserved.