接口 com.jdon.controller.context.SessionWrapper
的使用

使用 SessionWrapper 的软件包
com.jdon.container.visitor   
com.jdon.container.visitor.http   
com.jdon.controller   
com.jdon.controller.context   
com.jdon.controller.context.application   
com.jdon.controller.context.web   
 

com.jdon.container.visitorSessionWrapper 的使用
 

参数类型为 SessionWrappercom.jdon.container.visitor 中的方法
 ComponentVisitor VisitorFactory.createtVisitor(SessionWrapper session, TargetMetaDef targetMetaDef)
          return a ComponentVisitor with cache. the httpSession is used for optimizing the component performance
 

com.jdon.container.visitor.httpSessionWrapper 的使用
 

参数类型为 SessionWrappercom.jdon.container.visitor.http 中的方法
 ComponentVisitor HttpSessionVisitorFactoryImp.createtSessionVisitor(SessionWrapper session, TargetMetaDef targetMetaDef)
           
 ComponentVisitor HttpSessionVisitorFactoryImp.createtVisitor(SessionWrapper session, TargetMetaDef targetMetaDef)
          return a ComponentVisitor with cache. the httpSession is used for optimizing the component performance
 

com.jdon.controllerSessionWrapper 的使用
 

实现 SessionWrappercom.jdon.controller 中的类
 class AppUtil
          Java Application call this class to use JdonFramework.
 

com.jdon.controller.contextSessionWrapper 的使用
 

返回 SessionWrappercom.jdon.controller.context 中的方法
 SessionWrapper ContextHolder.getSessionHolder()
           
 

参数类型为 SessionWrappercom.jdon.controller.context 中的方法
 void ContextHolder.setSessionHolder(SessionWrapper sessionHolder)
           
 

参数类型为 SessionWrappercom.jdon.controller.context 中的构造方法
ContextHolder(AppContextWrapper appContextHolder, SessionWrapper sessionHolder)
           
 

com.jdon.controller.context.applicationSessionWrapper 的使用
 

实现 SessionWrappercom.jdon.controller.context.application 中的类
 class Application
           
 class DemoSessionWrapper
           
 

com.jdon.controller.context.webSessionWrapper 的使用
 

实现 SessionWrappercom.jdon.controller.context.web 中的类
 class HttpSessionWrapper
           
 



Copyright © 2013. All Rights Reserved.