org.apache.struts2.portlet.interceptor
Class PortletStateInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by org.apache.struts2.portlet.interceptor.PortletStateInterceptor
All Implemented Interfaces:
Interceptor, Serializable, PortletActionConstants

public class PortletStateInterceptor
extends AbstractInterceptor
implements PortletActionConstants

See Also:
Serialized Form

Field Summary
private static Log LOG
           
private static long serialVersionUID
           
 
Fields inherited from interface org.apache.struts2.portlet.PortletActionConstants
ACTION_PARAM, ACTION_RESET, DEFAULT_ACTION_FOR_MODE, DEFAULT_ACTION_NAME, DEFAULT_DISPATCHER_SERVLET_NAME, ERROR_ACTION, EVENT_ACTION, EVENT_PHASE, MODE_NAMESPACE_MAP, MODE_PARAM, PHASE, PORTLET_CONFIG, PORTLET_NAMESPACE, RENDER_DIRECT_LOCATION, RENDER_PHASE, REQUEST, RESPONSE, STACK_FROM_EVENT_PHASE
 
Constructor Summary
PortletStateInterceptor()
           
 
Method Summary
 String intercept(ActionInvocation invocation)
          Override to handle interception
private  boolean isProperPrg(ActionInvocation invocation)
           
private  void restoreStack(ActionInvocation invocation)
           
private  void saveStack(ActionInvocation invocation)
           
 
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PortletStateInterceptor

public PortletStateInterceptor()
Method Detail

intercept

public String intercept(ActionInvocation invocation)
                 throws Exception
Description copied from class: AbstractInterceptor
Override to handle interception

Specified by:
intercept in interface Interceptor
Specified by:
intercept in class AbstractInterceptor
Returns:
the return code, either returned from ActionInvocation.invoke(), or from the interceptor itself.
Throws:
Exception - any system-level error, as defined in Action.execute().

saveStack

private void saveStack(ActionInvocation invocation)

restoreStack

private void restoreStack(ActionInvocation invocation)

isProperPrg

private boolean isProperPrg(ActionInvocation invocation)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.