Class BroadcastGroupControlHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRuntimeOnlyHandler
-
- org.wildfly.extension.messaging.activemq.AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl>
-
- org.wildfly.extension.messaging.activemq.BroadcastGroupControlHandler
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class BroadcastGroupControlHandler extends AbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl>
Handler for runtime operations that interact with a ActiveMQBroadcastGroupControl.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static BroadcastGroupControlHandlerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControlgetActiveMQComponentControl(org.apache.activemq.artemis.core.server.ActiveMQServer activeMQServer, org.jboss.as.controller.PathAddress address)Gets theActiveMQComponentControlimplementation used by this handler.protected StringgetDescriptionPrefix()protected ObjecthandleOperation(String operationName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)Hook to allow subclasses to handle operations other thanread-attribute,startandstop.-
Methods inherited from class org.wildfly.extension.messaging.activemq.AbstractActiveMQComponentControlHandler
executeRuntimeStep, getActiveMQComponentControl, handleReadAttribute, handleRevertOperation, registerAttributes, registerOperations, unsupportedAttribute, unsupportedOperation
-
-
-
-
Field Detail
-
INSTANCE
public static final BroadcastGroupControlHandler INSTANCE
-
-
Method Detail
-
getActiveMQComponentControl
protected org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl getActiveMQComponentControl(org.apache.activemq.artemis.core.server.ActiveMQServer activeMQServer, org.jboss.as.controller.PathAddress address)Description copied from class:AbstractActiveMQComponentControlHandlerGets theActiveMQComponentControlimplementation used by this handler.- Specified by:
getActiveMQComponentControlin classAbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl>- Parameters:
activeMQServer- the ActiveMQ server installed in the runtimeaddress- the address being invoked- Returns:
- the runtime ActiveMQ control object associated with the given address
-
getDescriptionPrefix
protected String getDescriptionPrefix()
- Specified by:
getDescriptionPrefixin classAbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl>
-
handleOperation
protected Object handleOperation(String operationName, org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
Description copied from class:AbstractActiveMQComponentControlHandlerHook to allow subclasses to handle operations other thanread-attribute,startandstop. Implementations must not call any of thecontext.completeStep variants.This default implementation just throws the exception returned by
AbstractActiveMQComponentControlHandler.unsupportedOperation(String).- Overrides:
handleOperationin classAbstractActiveMQComponentControlHandler<org.apache.activemq.artemis.api.core.management.BaseBroadcastGroupControl>- Parameters:
operationName- the name of the operationcontext- the operation contextoperation- the operation- Returns:
- an object that can be passed back in
AbstractActiveMQComponentControlHandler.handleRevertOperation(String, org.jboss.as.controller.OperationContext, org.jboss.dmr.ModelNode, Object)if the operation should be reverted. A value ofnullis an indication that no reversible modification was made - Throws:
org.jboss.as.controller.OperationFailedException
-
-