public ComponentVisitor createtVisitor ( SessionWrapper session , TargetMetaDef targetMetaDef ) { if ( session != null ) return createtSessionVisitor ( session , targetMetaDef ) ; else return new NoSessionProxyComponentVisitor ( componentVisitor , targetMetaRequestsHolder ) ; }
return a ComponentVisitor with cache . the httpSession is used for optimizing the component performance