public void createTargetMetaRequest ( TargetMetaDef targetMetaDef , ContextHolder holder ) { ContainerWrapper containerWrapper = servletContainerFinder . findContainer ( holder . getAppContextHolder ( ) ) ; // get HttpSessionVisitorFactoryImp VisitorFactory visitorFactory = ( VisitorFactory ) containerWrapper . lookup ( ComponentKeys . VISITOR_FACTORY ) ; // ComponentVisitor is HttpSessionComponentVisitor ComponentVisitor cm = visitorFactory . createtVisitor ( holder . getSessionHolder ( ) , targetMetaDef ) ; TargetMetaRequest targetMetaRequest = new TargetMetaRequest ( targetMetaDef , cm ) ; targetMetaRequestsHolder . setTargetMetaRequest ( targetMetaRequest ) ; }
create a targetMetaRequest instance .