Package org.jboss.as.controller
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 aTransformingProxyController
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransformingProxyController
create(TransactionalProtocolClient client, Transformers transformers, PathAddress pathAddress, ProxyOperationAddressTranslator addressTranslator)
Creates aTransformingProxyController
based on the givenTransactionalProtocolClient
.static TransformingProxyController
create(org.jboss.as.protocol.mgmt.ManagementChannelHandler channelAssociation, Transformers transformers, PathAddress pathAddress, ProxyOperationAddressTranslator addressTranslator)
Creates aTransactionalProtocolClient
based on the givenchannelAssociation
and then uses that to create aTransformingProxyController
.
-
-
-
Method Detail
-
create
public static TransformingProxyController create(org.jboss.as.protocol.mgmt.ManagementChannelHandler channelAssociation, Transformers transformers, PathAddress pathAddress, ProxyOperationAddressTranslator addressTranslator)
Creates aTransactionalProtocolClient
based on the givenchannelAssociation
and then uses that to create aTransformingProxyController
.- Parameters:
channelAssociation
- the channel handler. Cannot benull
transformers
- transformers to use for transforming resources and operations. Cannot benull
pathAddress
- address under which the proxy controller is registered in the resource treeaddressTranslator
- 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)
Creates aTransformingProxyController
based on the givenTransactionalProtocolClient
.- Parameters:
client
- the client for communicating with the target process. Cannot benull
transformers
- transformers to use for transforming resources and operations. Cannot benull
pathAddress
- address under which the proxy controller is registered in the resource treeaddressTranslator
- translator to use for converting local addresses to addresses appropriate for the target process- Returns:
- the proxy controller. Will not be
null
-
-