public class ClusterConnectionControlHandler extends AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.ClusterConnectionControl>
ClusterConnectionControl.| Modifier and Type | Field and Description |
|---|---|
static ClusterConnectionControlHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescriptionPrefix() |
protected org.hornetq.api.core.management.ClusterConnectionControl |
getHornetQComponentControl(org.hornetq.core.server.HornetQServer hqServer,
org.jboss.as.controller.PathAddress address)
Gets the
HornetQComponentControl implementation used by this handler. |
protected Object |
handleOperation(String operationName,
org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation)
Hook to allow subclasses to handle operations other than
read-attribute, start and
stop. |
protected void |
handleReadAttribute(String attributeName,
org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation)
Hook to allow subclasses to handle read-attribute requests for attributes other than
CommonAttributes.STARTED. |
executeRuntimeStep, getHornetQComponentControl, handleRevertOperation, registerAttributes, registerOperations, unsupportedAttribute, unsupportedOperationpublic static final ClusterConnectionControlHandler INSTANCE
protected org.hornetq.api.core.management.ClusterConnectionControl getHornetQComponentControl(org.hornetq.core.server.HornetQServer hqServer,
org.jboss.as.controller.PathAddress address)
AbstractHornetQComponentControlHandlerHornetQComponentControl implementation used by this handler.getHornetQComponentControl in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.ClusterConnectionControl>hqServer - the HornetQServer installed in the runtimeaddress - the address being invokedprotected String getDescriptionPrefix()
getDescriptionPrefix in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.ClusterConnectionControl>protected void handleReadAttribute(String attributeName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
AbstractHornetQComponentControlHandlerCommonAttributes.STARTED.
Implementations must not call any of the
context.completeStep variants.
This default implementation just throws the exception returned by AbstractHornetQComponentControlHandler.unsupportedAttribute(String).
handleReadAttribute in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.ClusterConnectionControl>attributeName - the name of the attributecontext - the operation contextorg.jboss.as.controller.OperationFailedExceptionprotected Object handleOperation(String operationName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
AbstractHornetQComponentControlHandlerread-attribute, start and
stop. Implementations must not call any of the
context.completeStep variants.
This default implementation just throws the exception returned by AbstractHornetQComponentControlHandler.unsupportedOperation(String).
handleOperation in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.ClusterConnectionControl>operationName - the name of the operationcontext - the operation contextoperation - the operationAbstractHornetQComponentControlHandler.handleRevertOperation(String, org.jboss.as.controller.OperationContext, org.jboss.dmr.ModelNode, Object)
if the operation should be reverted. A value of null is an indication that no reversible
modification was madeorg.jboss.as.controller.OperationFailedExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.