Class 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 Detail

      • AddressSettingsResolveHandler

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