org.seasar.framework.aop.interceptors
クラス InvalidateSessionInterceptor

java.lang.Object
  拡張org.seasar.framework.aop.interceptors.AbstractInterceptor
      拡張org.seasar.framework.aop.interceptors.InvalidateSessionInterceptor
すべての実装インタフェース:
Advice, Interceptor, MethodInterceptor, java.io.Serializable

public class InvalidateSessionInterceptor
extends AbstractInterceptor

メソッドの実行後にHTTPセッションを破棄するインターセプタです。

実際のHTTPセッションの破棄は、S2ContainerFilterによって行われます。

作成者:
koichik
関連項目:
S2ContainerFilter, 直列化された形式

フィールドの概要
protected  S2Container container
          このコンポーネントを管理しているS2コンテナ
 
コンストラクタの概要
InvalidateSessionInterceptor(S2Container container)
          インスタンスを構築します。
 
メソッドの概要
protected  void invalidate()
          HTTPセッションを破棄します。
 java.lang.Object invoke(MethodInvocation invocation)
           
 
クラス org.seasar.framework.aop.interceptors.AbstractInterceptor から継承したメソッド
createProxy, getComponentDef, getTargetClass
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

container

protected S2Container container
このコンポーネントを管理しているS2コンテナ

コンストラクタの詳細

InvalidateSessionInterceptor

public InvalidateSessionInterceptor(S2Container container)
インスタンスを構築します。

パラメータ:
container - このコンポーネントを管理しているS2コンテナ
メソッドの詳細

invoke

public java.lang.Object invoke(MethodInvocation invocation)
                        throws java.lang.Throwable
例外:
java.lang.Throwable

invalidate

protected void invalidate()
HTTPセッションを破棄します。



Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.