public class BroadcastGroupControlHandler extends AbstractHornetQComponentControlHandler<org.hornetq.api.core.management.BroadcastGroupControl>
BroadcastGroupControl
.Modifier and Type | Field and Description |
---|---|
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 . |
executeRuntimeStep, getHornetQComponentControl, handleReadAttribute, handleRevertOperation, registerAttributes, registerOperations, unsupportedAttribute, unsupportedOperation
execute, resourceMustExist, waitFor
public static final BroadcastGroupControlHandler INSTANCE
protected org.hornetq.api.core.management.BroadcastGroupControl getHornetQComponentControl(org.hornetq.core.server.HornetQServer hqServer, PathAddress address)
AbstractHornetQComponentControlHandler
HornetQComponentControl
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
AbstractHornetQComponentControlHandler
read-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.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 madeOperationFailedException
Copyright © 2013 JBoss by Red Hat. All rights reserved.