public class TransactionalProtocolOperationHandler extends Object implements ManagementRequestHandlerFactory
TransactionalProtocolClient
.ManagementRequestHandlerFactory.RequestHandlerChain
Constructor and Description |
---|
TransactionalProtocolOperationHandler(ModelController controller,
ManagementChannelAssociation channelAssociation) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.dmr.ModelNode |
internalExecute(org.jboss.dmr.ModelNode operation,
ManagementRequestContext<?> context,
OperationMessageHandler messageHandler,
ProxyController.ProxyOperationControl control,
OperationAttachments attachments)
Subclasses can override this method to determine how to execute the method, e.g.
|
ManagementRequestHandler<?,?> |
resolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers,
ManagementRequestHeader request)
Try to resolve the request handler for the give header.
|
public TransactionalProtocolOperationHandler(ModelController controller, ManagementChannelAssociation channelAssociation)
public ManagementRequestHandler<?,?> resolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers, ManagementRequestHeader request)
ManagementRequestHandlerFactory
resolveHandler
in interface ManagementRequestHandlerFactory
handlers
- the handlers chainrequest
- the request headerprotected org.jboss.dmr.ModelNode internalExecute(org.jboss.dmr.ModelNode operation, ManagementRequestContext<?> context, OperationMessageHandler messageHandler, ProxyController.ProxyOperationControl control, OperationAttachments attachments)
operation
- the operation being executedmessageHandler
- the operation message handler proxycontrol
- the operation transaction controlattachments
- the operation attachments proxyCopyright © 2015 JBoss by Red Hat. All rights reserved.