public abstract class InvocationHandlerDelegate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSUMER_DELEGATE_CLASSNAME |
static String |
PRODUCER_DELEGATE_CLASSNAME |
| Constructor and Description |
|---|
InvocationHandlerDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static InvocationHandlerDelegate |
consumerDelegate()
Retrieves the delegate on the Consumer side.
|
abstract void |
processInvocation(org.gatein.pc.api.invocation.PortletInvocation invocation)
Method to process the specified PortletInvocation before it is handled by the rest of the WSRP invocation chain.
|
abstract void |
processInvocationResponse(org.gatein.pc.api.invocation.response.PortletInvocationResponse response,
org.gatein.pc.api.invocation.PortletInvocation invocation)
Method to process the specified PortletInvocationResponse before it is handled by the rest of the WSRP invocation
chain.
|
static InvocationHandlerDelegate |
producerDelegate()
Retrieves the delegate on the Producer side.
|
static void |
registerConsumerDelegate(InvocationHandlerDelegate delegate)
Only public for testing purposes
|
static void |
registerProducerDelegate(InvocationHandlerDelegate delegate)
Only public for testing purposes
|
public static final String CONSUMER_DELEGATE_CLASSNAME
public static final String PRODUCER_DELEGATE_CLASSNAME
public static void registerConsumerDelegate(InvocationHandlerDelegate delegate)
delegate - public static void registerProducerDelegate(InvocationHandlerDelegate delegate)
delegate - public static InvocationHandlerDelegate consumerDelegate()
public static InvocationHandlerDelegate producerDelegate()
public abstract void processInvocation(org.gatein.pc.api.invocation.PortletInvocation invocation)
invocation - the PortletInvocation to process (recommended to consider as read-only, used to extract
information from, not modify)public abstract void processInvocationResponse(org.gatein.pc.api.invocation.response.PortletInvocationResponse response,
org.gatein.pc.api.invocation.PortletInvocation invocation)
response - the PortletInvocationResponse to process (recommended to consider as read-only, used to extract
information from, not modify)invocation - the PortletInvocation that caused the specified PortletInvocationResponse (recommended to
consider as read-only, used to extract
information from, not modify)Copyright © 2006-2014 GateIn. All Rights Reserved.