| 程序包 | 说明 |
|---|---|
| com.jdon.container.access | |
| com.jdon.container.visitor | |
| com.jdon.container.visitor.http |
| 限定符和类型 | 方法和说明 |
|---|---|
ComponentVisitor |
TargetMetaRequest.getComponentVisitor() |
| 构造器和说明 |
|---|
TargetMetaRequest(TargetMetaDef targetMetaDef,
ComponentVisitor componentVisitor)
ComponentVisitor is HttpSessionComponentVisitor created in
UserTargetMetaDefFactory.createTargetMetaRequest(TargetMetaDef, com.jdon.controller.context.ContextHolder) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ComponentOriginalVisitor
original impleplements for target service components that will be cached
this is default concrete class of componentVisitor, configured in contain.xml
|
| 限定符和类型 | 方法和说明 |
|---|---|
ComponentVisitor |
VisitorFactory.createtVisitor(SessionWrapper session,
TargetMetaDef targetMetaDef)
return a ComponentVisitor with cache. the httpSession is used for
optimizing the component performance
|
| 限定符和类型 | 类和说明 |
|---|---|
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 |
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
|
| 构造器和说明 |
|---|
HttpSessionProxyComponentVisitor(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder,
HttpSessionVisitorFactorySetup httpSessionVisitorFactorySetup) |
HttpSessionVisitorFactoryImp(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder,
HttpSessionVisitorFactorySetup httpSessionVisitorFactorySetup) |
NoSessionProxyComponentVisitor(ComponentVisitor componentVisitor,
TargetMetaRequestsHolder targetMetaRequestsHolder) |
Copyright © 2018. All rights reserved.