|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ComponentVisitor 的软件包 | |
|---|---|
| com.jdon.container.access | |
| com.jdon.container.visitor | |
| com.jdon.container.visitor.http | |
| com.jdon.container.access 中 ComponentVisitor 的使用 |
|---|
| 返回 ComponentVisitor 的 com.jdon.container.access 中的方法 | |
|---|---|
ComponentVisitor |
TargetMetaRequest.getComponentVisitor()
|
| 参数类型为 ComponentVisitor 的 com.jdon.container.access 中的构造方法 | |
|---|---|
TargetMetaRequest(TargetMetaDef targetMetaDef,
ComponentVisitor componentVisitor)
ComponentVisitor is HttpSessionComponentVisitor created in UserTargetMetaDefFactory.createTargetMetaRequest(TargetMetaDef, com.jdon.controller.context.ContextHolder) |
|
| com.jdon.container.visitor 中 ComponentVisitor 的使用 |
|---|
| 实现 ComponentVisitor 的 com.jdon.container.visitor 中的类 | |
|---|---|
class |
ComponentOriginalVisitor
original impleplements for target service components that will be cached this is default concrete class of componentVisitor, configured in contain.xml |
| 返回 ComponentVisitor 的 com.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.http 中 ComponentVisitor 的使用 |
|---|
| 实现 ComponentVisitor 的 com.jdon.container.visitor.http 中的类 | |
|---|---|
class |
HttpSessionProxyComponentVisitor
using HttpSession as those components that need be cached now there are three kinds type: ComponentKeys.PROXYINSTANCE_FACTORY ComponentKeys.TARGETSERVICE_FACTORY; ComponentKeys.SESSIONCONTEXT_FACTORY; PROXYINSTANCE_FACTORY and TARGETSERVICE_FACTORY are the factorys that create components that need be optimized, if every time create these components, it will cost performance. |
class |
NoSessionProxyComponentVisitor
|
| 返回 ComponentVisitor 的 com.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 |
| 参数类型为 ComponentVisitor 的 com.jdon.container.visitor.http 中的构造方法 | |
|---|---|
HttpSessionProxyComponentVisitor(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder,
HttpSessionVisitorFactorySetup httpSessionVisitorFactorySetup)
|
|
HttpSessionVisitorFactoryImp(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder,
HttpSessionVisitorFactorySetup httpSessionVisitorFactorySetup)
|
|
NoSessionProxyComponentVisitor(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder)
|
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||