Class ActiveMQServerControlHandler

java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.wildfly.extension.messaging.activemq.ActiveMQServerControlHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public class ActiveMQServerControlHandler extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
Handles operations and attribute reads supported by a ActiveMQ org.apache.activemq.api.core.management.ActiveMQServerControl.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Field Details

    • ACTIVE

      public static final org.jboss.as.controller.AttributeDefinition ACTIVE
    • STARTED

      public static final org.jboss.as.controller.AttributeDefinition STARTED
    • RUNTIME_JOURNAL_TYPE

      public static final org.jboss.as.controller.AttributeDefinition RUNTIME_JOURNAL_TYPE
    • VERSION

      public static final org.jboss.as.controller.AttributeDefinition VERSION
    • GET_CONNECTORS_AS_JSON

      public static final String GET_CONNECTORS_AS_JSON
      See Also:
    • RESET_ALL_MESSAGE_COUNTERS

      public static final String RESET_ALL_MESSAGE_COUNTERS
      See Also:
    • RESET_ALL_MESSAGE_COUNTER_HISTORIES

      public static final String RESET_ALL_MESSAGE_COUNTER_HISTORIES
      See Also:
    • LIST_PREPARED_TRANSACTIONS

      public static final String LIST_PREPARED_TRANSACTIONS
      See Also:
    • LIST_PREPARED_TRANSACTION_DETAILS_AS_JSON

      public static final String LIST_PREPARED_TRANSACTION_DETAILS_AS_JSON
      See Also:
    • LIST_PREPARED_TRANSACTION_DETAILS_AS_HTML

      public static final String LIST_PREPARED_TRANSACTION_DETAILS_AS_HTML
      See Also:
    • LIST_HEURISTIC_COMMITTED_TRANSACTIONS

      public static final String LIST_HEURISTIC_COMMITTED_TRANSACTIONS
      See Also:
    • LIST_HEURISTIC_ROLLED_BACK_TRANSACTIONS

      public static final String LIST_HEURISTIC_ROLLED_BACK_TRANSACTIONS
      See Also:
    • COMMIT_PREPARED_TRANSACTION

      public static final String COMMIT_PREPARED_TRANSACTION
      See Also:
    • ROLLBACK_PREPARED_TRANSACTION

      public static final String ROLLBACK_PREPARED_TRANSACTION
      See Also:
    • LIST_REMOTE_ADDRESSES

      public static final String LIST_REMOTE_ADDRESSES
      See Also:
    • CLOSE_CONNECTIONS_FOR_ADDRESS

      public static final String CLOSE_CONNECTIONS_FOR_ADDRESS
      See Also:
    • CLOSE_CONNECTIONS_FOR_USER

      public static final String CLOSE_CONNECTIONS_FOR_USER
      See Also:
    • CLOSE_CONSUMER_CONNECTIONS_FOR_ADDRESS

      public static final String CLOSE_CONSUMER_CONNECTIONS_FOR_ADDRESS
      See Also:
    • LIST_CONNECTION_IDS

      public static final String LIST_CONNECTION_IDS
      See Also:
    • LIST_PRODUCERS_INFO_AS_JSON

      public static final String LIST_PRODUCERS_INFO_AS_JSON
      See Also:
    • LIST_SESSIONS

      public static final String LIST_SESSIONS
      See Also:
    • GET_ROLES

      public static final String GET_ROLES
      See Also:
    • GET_ROLES_AS_JSON

      @Deprecated public static final String GET_ROLES_AS_JSON
      Deprecated.
      See Also:
    • GET_ADDRESS_SETTINGS_AS_JSON

      public static final String GET_ADDRESS_SETTINGS_AS_JSON
      See Also:
    • FORCE_FAILOVER

      public static final String FORCE_FAILOVER
      See Also:
    • TRANSACTION_AS_BASE_64

      public static final org.jboss.as.controller.AttributeDefinition TRANSACTION_AS_BASE_64
    • ADDRESS_MATCH

      public static final org.jboss.as.controller.AttributeDefinition ADDRESS_MATCH
    • USER

      public static final org.jboss.as.controller.AttributeDefinition USER
    • CONNECTION_ID

      public static final org.jboss.as.controller.AttributeDefinition CONNECTION_ID
    • REQUIRED_IP_ADDRESS

      public static final org.jboss.as.controller.AttributeDefinition REQUIRED_IP_ADDRESS
    • OPTIONAL_IP_ADDRESS

      public static final org.jboss.as.controller.AttributeDefinition OPTIONAL_IP_ADDRESS
  • Method Details

    • 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
    • registerAttributes

      public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration registry)
    • registerOperations

      public void registerOperations(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)