public class InvocationDispatcher extends Object
InvocationHandler will handle a given PortletInvocation, originating from the portal, to convert it into one or more WSRP calls. See dispatchAndHandle(org.gatein.pc.api.invocation.PortletInvocation).| Constructor and Description |
|---|
InvocationDispatcher(WSRPConsumerImpl consumer) |
| Modifier and Type | Method and Description |
|---|---|
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
dispatchAndHandle(org.gatein.pc.api.invocation.PortletInvocation invocation)
Determines which
InvocationHandler will handle the specified invocation and call its InvocationHandler.handle(org.gatein.pc.api.invocation.PortletInvocation)
method, giving the consumer-side InvocationHandlerDelegate a chance to pre- and post-process the invocation. |
public InvocationDispatcher(WSRPConsumerImpl consumer)
public org.gatein.pc.api.invocation.response.PortletInvocationResponse dispatchAndHandle(org.gatein.pc.api.invocation.PortletInvocation invocation)
throws org.gatein.pc.api.PortletInvokerException
InvocationHandler will handle the specified invocation and call its InvocationHandler.handle(org.gatein.pc.api.invocation.PortletInvocation)
method, giving the consumer-side InvocationHandlerDelegate a chance to pre- and post-process the invocation. Also resets any set extensions by ConsumerExtensionAccessor during the invocation.invocation - the PortletInvocation coming from the portal that needs to be converted intoorg.gatein.pc.api.PortletInvokerExceptionCopyright © 2006-2014 GateIn. All Rights Reserved.