/** * Wrap an operation's parameters in a simple encapsulating object * @param operation the operation * @param messageHandler the message handler * @param attachments the attachments * @return the encapsulating object */ public static TransactionalProtocolClient.Operation wrap(final ModelNode operation, final OperationMessageHandler messageHandler, final OperationAttachments attachments) { return new TransactionalOperationImpl(operation, messageHandler, attachments); }
/** * Wrap an operation's parameters in a simple encapsulating object * @param operation the operation * @param messageHandler the message handler * @param attachments the attachments * @return the encapsulating object */ public static TransactionalProtocolClient.Operation wrap(final ModelNode operation, final OperationMessageHandler messageHandler, final OperationAttachments attachments) { return new TransactionalOperationImpl(operation, messageHandler, attachments); }
/** * Wrap an operation's parameters in a simple encapsulating object * @param operation the operation * @param messageHandler the message handler * @param attachments the attachments * @return the encapsulating object */ public static TransactionalProtocolClient.Operation wrap(final ModelNode operation, final OperationMessageHandler messageHandler, final OperationAttachments attachments) { return new TransactionalOperationImpl(operation, messageHandler, attachments); }
/** * Wrap an operation's parameters in a simple encapsulating object * @param operation the operation * @param messageHandler the message handler * @param attachments the attachments * @return the encapsulating object */ public static TransactionalProtocolClient.Operation wrap(final ModelNode operation, final OperationMessageHandler messageHandler, final OperationAttachments attachments) { return new TransactionalOperationImpl(operation, messageHandler, attachments); }