|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RequestHandler is able to control the flow of a component request in a chain of handlers. If the request can be handled by the current handler, then it is executed here, otherwise it is passed to the next handler in the chain of handlers.
Method Summary | |
java.lang.Object |
handleRequest(ComponentRequest request)
If the current controller is suitable, the request is executed. |
RequestHandler |
nextHandler()
|
void |
setNextHandler(RequestHandler handler)
Sets the next handler in the chain of handlers. |
Method Detail |
public java.lang.Object handleRequest(ComponentRequest request) throws MethodCallExecutionFailedException, java.lang.reflect.InvocationTargetException
request
- the request to process
MethodCallExecutionFailedException
- if the execution of a request failed (ProActive level)
java.lang.reflect.InvocationTargetException
- if the execution of a request failed (java reflection level)public RequestHandler nextHandler()
public void setNextHandler(RequestHandler handler)
handler
- the next handler in the chain of handlers.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |