Class JMSServerControlHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRuntimeOnlyHandler
-
- org.wildfly.extension.messaging.activemq.jms.JMSServerControlHandler
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class JMSServerControlHandler extends org.jboss.as.controller.AbstractRuntimeOnlyHandlerHandles operations and attribute reads supported by a ActiveMQActiveMQServerControl.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static StringGET_LAST_SENT_MESSAGE_IDstatic StringGET_SESSION_CREATION_TIMEstatic JMSServerControlHandlerINSTANCEstatic StringLIST_ALL_CONSUMERS_AS_JSONstatic StringLIST_CONNECTIONS_AS_JSONstatic StringLIST_CONSUMERS_AS_JSONstatic StringLIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTMLstatic StringLIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSONstatic StringLIST_SESSIONS_AS_JSONstatic StringLIST_TARGET_DESTINATIONS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.json.JsonObjectenrich(javax.json.JsonObject source, String key, String value)protected voidexecuteRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)String[]listTargetDestinations(org.apache.activemq.artemis.core.server.ActiveMQServer server, String sessionID)voidregisterOperations(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
-
-
-
Field Detail
-
LIST_CONNECTIONS_AS_JSON
public static final String LIST_CONNECTIONS_AS_JSON
- See Also:
- Constant Field Values
-
LIST_CONSUMERS_AS_JSON
public static final String LIST_CONSUMERS_AS_JSON
- See Also:
- Constant Field Values
-
LIST_ALL_CONSUMERS_AS_JSON
public static final String LIST_ALL_CONSUMERS_AS_JSON
- See Also:
- Constant Field Values
-
LIST_TARGET_DESTINATIONS
public static final String LIST_TARGET_DESTINATIONS
- See Also:
- Constant Field Values
-
GET_LAST_SENT_MESSAGE_ID
public static final String GET_LAST_SENT_MESSAGE_ID
- See Also:
- Constant Field Values
-
GET_SESSION_CREATION_TIME
public static final String GET_SESSION_CREATION_TIME
- See Also:
- Constant Field Values
-
LIST_SESSIONS_AS_JSON
public static final String LIST_SESSIONS_AS_JSON
- See Also:
- Constant Field Values
-
LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSON
public static final String LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSON
- See Also:
- Constant Field Values
-
LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTML
public static final String LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTML
- See Also:
- Constant Field Values
-
INSTANCE
public static final JMSServerControlHandler INSTANCE
-
-
Method Detail
-
executeRuntimeStep
protected void executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException- Specified by:
executeRuntimeStepin classorg.jboss.as.controller.AbstractRuntimeOnlyHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
registerOperations
public void registerOperations(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
-
-