Package org.jboss.as.protocol.mgmt
Interface ManagementRequestHandlerFactory
- All Known Implementing Classes:
ManagementPongRequestHandler
public interface ManagementRequestHandlerFactory
A
ManagementRequestHandler factory.- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA chain of multiple request handler factories, also providing a hook for factories to create new active operations or register the local process instance of a remotely initiated active operation. -
Method Summary
Modifier and TypeMethodDescriptionresolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers, ManagementRequestHeader header) Try to resolve the request handler for the given header.
-
Method Details
-
resolveHandler
ManagementRequestHandler<?,?> resolveHandler(ManagementRequestHandlerFactory.RequestHandlerChain handlers, ManagementRequestHeader header) Try to resolve the request handler for the given header. If an implementation is unable to resolve a handler itself, it must complete this method by returning the result ofhandlers.resolveNext().- Parameters:
handlers- the handlers chainheader- the request header- Returns:
- the management request handler
-