com.google.code.rees.scope.struts2
Class SessionInterceptor

java.lang.Object
  extended by com.google.code.rees.scope.struts2.SessionInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class SessionInterceptor
extends Object
implements com.opensymphony.xwork2.interceptor.Interceptor

A Struts2 Interceptor that uses bi-jects @SessionField annotated fields in action classes.

Author:
rees.byars
See Also:
Serialized Form

Field Summary
protected  ScopeContainer scopeContainer
           
protected  SessionManager sessionManager
           
 
Constructor Summary
SessionInterceptor()
           
 
Method Summary
 void destroy()
          
 void init()
          
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
          
 void setScopeContainerProvider(ScopeContainerProvider scopeContainerProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionManager

protected SessionManager sessionManager

scopeContainer

protected ScopeContainer scopeContainer
Constructor Detail

SessionInterceptor

public SessionInterceptor()
Method Detail

setScopeContainerProvider

public void setScopeContainerProvider(ScopeContainerProvider scopeContainerProvider)

destroy

public void destroy()

Specified by:
destroy in interface com.opensymphony.xwork2.interceptor.Interceptor

init

public void init()

Specified by:
init in interface com.opensymphony.xwork2.interceptor.Interceptor

intercept

public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
                 throws Exception

Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
Throws:
Exception


Copyright © 2012-2013. All Rights Reserved.