Class AddressSettingsResolveHandler

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

public class AddressSettingsResolveHandler extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
Operation handler to resolve address settings. WildFly address-setting resource represents a setting for a given address (which can be a wildcard address). ActiveMQ uses a hierarchy of address-settings (based on address wildcards) and "merges" the hierarchy of settings to obtain the settings for a specific address. This handler resolves the address settings values for the specified address (even though there may not be an address-setting that exists at that address). For example, the user adds an address-settings for '#' (the most generic wildcard address) and specifies its settings. It can then call the operation /subsystem=messaging-activemq/server=default/resolve-address-setting(activemq-address=jms.queue.myQueue) to retrieve the *resolved* settings for the jms.queue.myQueue address (which will be inherited from #).
Author:
Jeff Mesnil (c) 2014 Red Hat Inc.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
     
    static void
    registerOperationHandler(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
     

    Methods inherited from class org.jboss.as.controller.AbstractRuntimeOnlyHandler

    execute, requiresRuntime, resourceMustExist

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AddressSettingsResolveHandler

      protected AddressSettingsResolveHandler()
  • 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
    • registerOperationHandler

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