public final class TransactionalProtocolHandlers extends Object
Modifier and Type | Method and Description |
---|---|
static TransactionalProtocolClient |
createClient(ManagementChannelHandler channelAssociation)
Create a transactional protocol client.
|
static TransactionalProtocolClient.PreparedOperation<TransactionalProtocolClient.Operation> |
executeBlocking(org.jboss.dmr.ModelNode operation,
TransactionalProtocolClient client)
Execute blocking for a prepared result.
|
static TransactionalProtocolClient.Operation |
wrap(org.jboss.dmr.ModelNode operation,
OperationMessageHandler messageHandler,
OperationAttachments attachments)
Wrap an operation's parameters in a simple encapsulating object
|
public static TransactionalProtocolClient createClient(ManagementChannelHandler channelAssociation)
channelAssociation
- the channel handlerpublic static TransactionalProtocolClient.Operation wrap(org.jboss.dmr.ModelNode operation, OperationMessageHandler messageHandler, OperationAttachments attachments)
operation
- the operationmessageHandler
- the message handlerattachments
- the attachmentspublic static TransactionalProtocolClient.PreparedOperation<TransactionalProtocolClient.Operation> executeBlocking(org.jboss.dmr.ModelNode operation, TransactionalProtocolClient client) throws IOException, InterruptedException
operation
- the operation to executeclient
- the protocol clientIOException
InterruptedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.