org.jboss.portal.wsrp.consumer
Class ActionHandler

java.lang.Object
  extended by org.jboss.portal.wsrp.consumer.InvocationHandler
      extended by org.jboss.portal.wsrp.consumer.ActionHandler

public class ActionHandler
extends InvocationHandler

Since:
2.4 (May 31, 2006)
Version:
$Revision: 8437 $
Author:
Chris Laprun

Field Summary
 
Fields inherited from class org.jboss.portal.wsrp.consumer.InvocationHandler
consumer, log
 
Constructor Summary
ActionHandler(WSRPConsumerImpl consumer)
           
 
Method Summary
protected  RuntimeContext getRuntimeContextFrom(java.lang.Object request)
           
protected  java.lang.Object performRequest(java.lang.Object request)
           
protected  java.lang.Object prepareRequest(org.jboss.portal.wsrp.consumer.RequestPrecursor requestPrecursor, PortletInvocation invocation)
           
protected  PortletInvocationResponse processResponse(java.lang.Object response, PortletInvocation invocation, org.jboss.portal.wsrp.consumer.RequestPrecursor requestPrecursor)
           
protected  void updateRegistrationContext(java.lang.Object request)
           
protected  void updateUserContext(java.lang.Object request, UserContext userContext)
           
 
Methods inherited from class org.jboss.portal.wsrp.consumer.InvocationHandler
getNamespaceFrom, performRequest, unwrapWSRPError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionHandler

public ActionHandler(WSRPConsumerImpl consumer)
Method Detail

prepareRequest

protected java.lang.Object prepareRequest(org.jboss.portal.wsrp.consumer.RequestPrecursor requestPrecursor,
                                          PortletInvocation invocation)
Specified by:
prepareRequest in class InvocationHandler

processResponse

protected PortletInvocationResponse processResponse(java.lang.Object response,
                                                    PortletInvocation invocation,
                                                    org.jboss.portal.wsrp.consumer.RequestPrecursor requestPrecursor)
                                             throws PortletInvokerException
Specified by:
processResponse in class InvocationHandler
Throws:
PortletInvokerException

updateUserContext

protected void updateUserContext(java.lang.Object request,
                                 UserContext userContext)
Specified by:
updateUserContext in class InvocationHandler

updateRegistrationContext

protected void updateRegistrationContext(java.lang.Object request)
                                  throws PortletInvokerException
Specified by:
updateRegistrationContext in class InvocationHandler
Throws:
PortletInvokerException

getRuntimeContextFrom

protected RuntimeContext getRuntimeContextFrom(java.lang.Object request)
Specified by:
getRuntimeContextFrom in class InvocationHandler

performRequest

protected java.lang.Object performRequest(java.lang.Object request)
                                   throws java.lang.Exception
Specified by:
performRequest in class InvocationHandler
Throws:
java.lang.Exception