public class BroadcastGroupControlHandler extends AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BroadcastGroupControl>
BroadcastGroupControl
.Modifier and Type | Field and Description |
---|---|
static BroadcastGroupControlHandler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected org.apache.activemq.artemis.api.core.management.BroadcastGroupControl |
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 . |
executeRuntimeStep, getActiveMQComponentControl, handleReadAttribute, handleRevertOperation, registerAttributes, registerOperations, unsupportedAttribute, unsupportedOperation
public static final BroadcastGroupControlHandler INSTANCE
protected org.apache.activemq.artemis.api.core.management.BroadcastGroupControl getActiveMQComponentControl(org.apache.activemq.artemis.core.server.ActiveMQServer activeMQServer, org.jboss.as.controller.PathAddress address)
AbstractActiveMQComponentControlHandler
ActiveMQComponentControl
implementation used by this handler.getActiveMQComponentControl
in class AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BroadcastGroupControl>
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.BroadcastGroupControl>
protected Object handleOperation(String operationName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
AbstractActiveMQComponentControlHandler
read-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.BroadcastGroupControl>
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.OperationFailedException
Copyright © 2016 JBoss by Red Hat. All rights reserved.