com.jdon.aop.interceptor
类 SessionContextInterceptor
java.lang.Object
com.jdon.aop.interceptor.SessionContextInterceptor
- 所有已实现的接口:
- Startable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class SessionContextInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor, Startable
interceptor the SessionContextAcceptable concrete services, and inject the
SessionContext object into them, so these application service can got the
datas from session that saved by framework.
this interceptor must be after the targetservice creating interceptors such
as StatefulInterceptor or PoolInterceptor,
because this interceptor will inject SessionContext object into the existed
targetservice object.
- 作者:
- banq
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionContextInterceptor
public SessionContextInterceptor(ContainerCallback containerCallback,
TargetMetaRequestsHolder targetMetaRequestsHolder)
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- 指定者:
- 接口
org.aopalliance.intercept.MethodInterceptor 中的 invoke
- 抛出:
Throwable
isSessionContextAcceptable
public boolean isSessionContextAcceptable(TargetMetaDef targetMetaDef)
start
public void start()
- 从接口
Startable 复制的描述
- Start this component.
- 指定者:
- 接口
Startable 中的 start
stop
public void stop()
- 从接口
Startable 复制的描述
- Stop this component.
- 指定者:
- 接口
Startable 中的 stop
Copyright © 2013. All Rights Reserved.