Class TransformingProxyController.Factory

java.lang.Object
org.jboss.as.controller.TransformingProxyController.Factory
Enclosing interface:
TransformingProxyController

public static class TransformingProxyController.Factory extends Object
Factory methods for creating a TransformingProxyController
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • create

      public static TransformingProxyController create(org.jboss.as.protocol.mgmt.ManagementChannelHandler channelAssociation, Transformers transformers, PathAddress pathAddress, ProxyOperationAddressTranslator addressTranslator)
      Creates a TransactionalProtocolClient based on the given channelAssociation and then uses that to create a TransformingProxyController.
      Parameters:
      channelAssociation - the channel handler. Cannot be null
      transformers - transformers to use for transforming resources and operations. Cannot be null
      pathAddress - address under which the proxy controller is registered in the resource tree
      addressTranslator - translator to use for converting local addresses to addresses appropriate for the target process
      Returns:
      the proxy controller. Will not be null
    • create

      public static TransformingProxyController create(TransactionalProtocolClient client, Transformers transformers, PathAddress pathAddress, ProxyOperationAddressTranslator addressTranslator)
      Parameters:
      client - the client for communicating with the target process. Cannot be null
      transformers - transformers to use for transforming resources and operations. Cannot be null
      pathAddress - address under which the proxy controller is registered in the resource tree
      addressTranslator - translator to use for converting local addresses to addresses appropriate for the target process
      Returns:
      the proxy controller. Will not be null