org.chorem.bow.interceptor
Class LoginInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by org.chorem.bow.interceptor.LoginInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class LoginInterceptor
extends com.opensymphony.xwork2.interceptor.AbstractInterceptor

See Also:
Serialized Form

Field Summary
protected  String redirect
           
 
Constructor Summary
LoginInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 void setRedirect(String redirect)
           
 
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

redirect

protected String redirect
Constructor Detail

LoginInterceptor

public LoginInterceptor()
Method Detail

setRedirect

public void setRedirect(String redirect)
Parameters:
redirect - the redirect to set

intercept

public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
Specified by:
intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
Throws:
Exception


Copyright © 2010-2011 CodeLutin. All Rights Reserved.