public static class TransformingProxyController.TransformingProxyControllerImpl extends Object implements TransformingProxyController
TransformingProxyController.Factory, TransformingProxyController.TransformingProxyControllerImpl
ProxyController.ProxyOperationControl
Constructor and Description |
---|
TransformingProxyControllerImpl(Transformers transformers,
RemoteProxyController proxy) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.jboss.dmr.ModelNode operation,
OperationMessageHandler handler,
ProxyController.ProxyOperationControl control,
OperationAttachments attachments)
Execute an operation, sending updates to the given handler and receiving the response via the given
ModelController.OperationTransactionControl . |
TransactionalProtocolClient |
getProtocolClient()
Get the underlying protocol client.
|
PathAddress |
getProxyNodeAddress()
Get the address where this proxy controller applies to in the host ModelController
|
Transformers |
getTransformers()
Get the Transformers!
|
OperationTransformer.TransformedOperation |
transformOperation(OperationContext context,
org.jboss.dmr.ModelNode operation)
Transform the operation.
|
public TransformingProxyControllerImpl(Transformers transformers, RemoteProxyController proxy)
public TransactionalProtocolClient getProtocolClient()
TransformingProxyController
getProtocolClient
in interface TransformingProxyController
public Transformers getTransformers()
TransformingProxyController
getTransformers
in interface TransformingProxyController
public PathAddress getProxyNodeAddress()
ProxyController
getProxyNodeAddress
in interface ProxyController
public OperationTransformer.TransformedOperation transformOperation(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
TransformingProxyController
transformOperation
in interface TransformingProxyController
context
- the operation contextoperation
- the operation to transform.OperationFailedException
public void execute(org.jboss.dmr.ModelNode operation, OperationMessageHandler handler, ProxyController.ProxyOperationControl control, OperationAttachments attachments)
ProxyController
ModelController.OperationTransactionControl
. When this operation returns, either the
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, org.jboss.dmr.ModelNode)
or the ProxyController.ProxyOperationControl.operationFailed(org.jboss.dmr.ModelNode)
callbacks on the given control
will have been invoked.execute
in interface ProxyController
operation
- the operation to execute. Cannot be null
handler
- the message handler. May be null
control
- the callback handler for this operation. Cannot be null
attachments
- the operation attachments. May be null
Copyright © 2015 JBoss by Red Hat. All rights reserved.