站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

ActionHandler - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.consumer
Class ActionHandler

java.lang.Object
  extended byorg.jboss.portal.wsrp.consumer.InvocationHandler
      extended byorg.jboss.portal.wsrp.consumer.ActionHandler

public class ActionHandler
extends InvocationHandler

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

Field Summary
 
Fields inherited from class org.jboss.portal.wsrp.consumer.InvocationHandler
consumer, log
 
Constructor Summary
ActionHandler(WSRPConsumerImpl consumer)
           
 
Method Summary
private  PerformBlockingInteraction getActionRequest(java.lang.Object request)
           
protected  RuntimeContext getRuntimeContextFrom(java.lang.Object request)
           
protected  java.lang.Object performRequest(java.lang.Object request)
           
protected  java.lang.Object prepareRequest(RequestPrecursor requestPrecursor, PortletInvocation invocation)
           
protected  PortletInvocationResponse processResponse(java.lang.Object response, PortletInvocation invocation, 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
handle, 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(RequestPrecursor requestPrecursor,
                                          PortletInvocation invocation)
Specified by:
prepareRequest in class InvocationHandler

processResponse

protected PortletInvocationResponse processResponse(java.lang.Object response,
                                                    PortletInvocation invocation,
                                                    RequestPrecursor requestPrecursor)
Specified by:
processResponse in class InvocationHandler

updateUserContext

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

updateRegistrationContext

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

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

getActionRequest

private PerformBlockingInteraction getActionRequest(java.lang.Object request)