// let the producer invocation handler delegate process the invocation before we perform the actual invocation
final InvocationHandlerDelegate delegate = InvocationHandlerDelegate.producerDelegate();
if (delegate != null)
{
delegate.processInvocation(invocation);
}
// get the portlet invoker to perform the invocation
response = producer.getPortletInvoker().invoke(invocation);