Class JMSServerControlHandler

  • All Implemented Interfaces:
    org.jboss.as.controller.OperationStepHandler

    public class JMSServerControlHandler
    extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
    Handles operations and attribute reads supported by a ActiveMQ ActiveMQServerControl.
    Author:
    Brian Stansberry (c) 2011 Red Hat Inc.
    • Method Detail

      • enrich

        public javax.json.JsonObject enrich​(javax.json.JsonObject source,
                                            String key,
                                            String value)
      • executeRuntimeStep

        protected void executeRuntimeStep​(org.jboss.as.controller.OperationContext context,
                                          org.jboss.dmr.ModelNode operation)
                                   throws org.jboss.as.controller.OperationFailedException
        Specified by:
        executeRuntimeStep in class org.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)
      • listTargetDestinations

        public String[] listTargetDestinations​(org.apache.activemq.artemis.core.server.ActiveMQServer server,
                                               String sessionID)
                                        throws Exception
        Throws:
        Exception