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.AbstractRuntimeOnlyHandlerOperation 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 protectedAddressSettingsResolveHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)static voidregisterOperationHandler(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
-
-
-
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
-
registerOperationHandler
public static void registerOperationHandler(org.jboss.as.controller.registry.ManagementResourceRegistration registry, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
-
-