Class ConnectorAdd

java.lang.Object
org.jboss.as.controller.AbstractAddStepHandler
org.wildfly.extension.messaging.activemq.ConnectorAdd
All Implemented Interfaces:
org.jboss.as.controller.OperationDescriptor, org.jboss.as.controller.OperationStepHandler

public class ConnectorAdd extends org.jboss.as.controller.AbstractAddStepHandler
Author:
Emmanuel Hugonnet (c) 2023 Red Hat, Inc.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractAddStepHandler

    org.jboss.as.controller.AbstractAddStepHandler.Parameters
  • Field Summary

    Fields inherited from class org.jboss.as.controller.AbstractAddStepHandler

    attributes
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConnectorAdd(org.jboss.as.controller.AttributeDefinition... attributes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
     
    protected boolean
    requiresRuntime(org.jboss.as.controller.OperationContext context)
    Nothing to do if is it an external connector as we don't need to update the underlying broker.

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

    createResource, createResource, execute, getAttributes, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, rollbackRuntime

    Methods inherited from class java.lang.Object

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

    • ConnectorAdd

      public ConnectorAdd(org.jboss.as.controller.AttributeDefinition... attributes)
  • Method Details

    • requiresRuntime

      protected boolean requiresRuntime(org.jboss.as.controller.OperationContext context)
      Nothing to do if is it an external connector as we don't need to update the underlying broker.
      Overrides:
      requiresRuntime in class org.jboss.as.controller.AbstractAddStepHandler
      Parameters:
      context - operation context
      Returns:
      true if performRuntime should be invoked; false otherwise.
    • performRuntime

      protected void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Overrides:
      performRuntime in class org.jboss.as.controller.AbstractAddStepHandler
      Throws:
      org.jboss.as.controller.OperationFailedException