public class BroadcastGroupControlHandler extends AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>
BroadcastGroupControl.| Modifier and Type | Field and Description |
|---|---|
static String |
GET_CONNECTOR_PAIRS_AS_JSON |
static BroadcastGroupControlHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescriptionPrefix() |
protected org.hornetq.api.core.management.BroadcastGroupControl |
getHornetQComponentControl(org.hornetq.core.server.HornetQServer hqServer,
PathAddress address)
Gets the
HornetQComponentControl implementation used by this handler. |
protected Object |
handleOperation(String operationName,
OperationContext context,
org.jboss.dmr.ModelNode operation)
Hook to allow subclasses to handle operations other than
read-attribute, start and
stop. |
void |
register(ManagementResourceRegistration registry) |
executeRuntimeStep, getHornetQComponentControl, handleReadAttribute, handleRevertOperation, unsupportedAttribute, unsupportedOperationexecute, waitForpublic static final BroadcastGroupControlHandler INSTANCE
public static final String GET_CONNECTOR_PAIRS_AS_JSON
public void register(ManagementResourceRegistration registry)
register in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>protected org.hornetq.api.core.management.BroadcastGroupControl getHornetQComponentControl(org.hornetq.core.server.HornetQServer hqServer,
PathAddress address)
AbstractHornetQComponentControlHandlerHornetQComponentControl implementation used by this handler.getHornetQComponentControl in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>hqServer - the HornetQServer installed in the runtimeaddress - the address being invokedprotected String getDescriptionPrefix()
getDescriptionPrefix in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>protected Object handleOperation(String operationName, OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
AbstractHornetQComponentControlHandlerread-attribute, start and
stop. Implementations must not call OperationContext.completeStep().
This default implementation just throws the exception returned by AbstractHornetQComponentControlHandler.unsupportedOperation(String).
handleOperation in class AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>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 madeOperationFailedExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.