public class ClusterConnectionControlHandler extends AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.ClusterConnectionControl>
org.apache.activemq.api.core.management.ClusterConnectionControl.| Modifier and Type | Field and Description |
|---|---|
static ClusterConnectionControlHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.activemq.artemis.api.core.management.ClusterConnectionControl |
getActiveMQComponentControl(org.apache.activemq.artemis.core.server.ActiveMQServer activeMQServer,
org.jboss.as.controller.PathAddress address)
Gets the
ActiveMQComponentControl implementation used by this handler. |
protected String |
getDescriptionPrefix() |
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, getActiveMQComponentControl, handleRevertOperation, registerAttributes, registerOperations, unsupportedAttribute, unsupportedOperationpublic static final ClusterConnectionControlHandler INSTANCE
protected org.apache.activemq.artemis.api.core.management.ClusterConnectionControl getActiveMQComponentControl(org.apache.activemq.artemis.core.server.ActiveMQServer activeMQServer,
org.jboss.as.controller.PathAddress address)
AbstractActiveMQComponentControlHandlerActiveMQComponentControl implementation used by this handler.getActiveMQComponentControl in class AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.ClusterConnectionControl>activeMQServer - the ActiveMQ server installed in the runtimeaddress - the address being invokedprotected String getDescriptionPrefix()
getDescriptionPrefix in class AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.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
AbstractActiveMQComponentControlHandlerCommonAttributes.STARTED.
Implementations must not call any of the
context.completeStep variants.
This default implementation just throws the exception returned by AbstractActiveMQComponentControlHandler.unsupportedAttribute(String).
handleReadAttribute in class AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.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
AbstractActiveMQComponentControlHandlerread-attribute, start and
stop. Implementations must not call any of the
context.completeStep variants.
This default implementation just throws the exception returned by AbstractActiveMQComponentControlHandler.unsupportedOperation(String).
handleOperation in class AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.ClusterConnectionControl>operationName - the name of the operationcontext - the operation contextoperation - the operationAbstractActiveMQComponentControlHandler.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 © 2020 JBoss by Red Hat. All rights reserved.