com.jdon.container.visitor
Class ComponentOriginalVisitor

java.lang.Object
  extended by com.jdon.container.visitor.ComponentOriginalVisitor
All Implemented Interfaces:
ComponentVisitor

public class ComponentOriginalVisitor
extends java.lang.Object
implements ComponentVisitor

original impleplements for target service components that will be cached


Constructor Summary
ComponentOriginalVisitor(ContainerCallback containerCallback)
           
 
Method Summary
 ContainerWrapper getContainerWrapper()
           
 java.lang.Object visit(TargetMetaRequest targetMetaRequest)
          find the visitable component from container, and execute it's accept method, the return result is the tager service object.
 SessionContext visitSessionContext(TargetMetaRequest targetMetaRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentOriginalVisitor

public ComponentOriginalVisitor(ContainerCallback containerCallback)
Method Detail

getContainerWrapper

public ContainerWrapper getContainerWrapper()
Specified by:
getContainerWrapper in interface ComponentVisitor
Returns:
Returns the containerWrapper.

visit

public java.lang.Object visit(TargetMetaRequest targetMetaRequest)
find the visitable component from container, and execute it's accept method, the return result is the tager service object.

Specified by:
visit in interface ComponentVisitor
Returns:
the result of the component run

visitSessionContext

public SessionContext visitSessionContext(TargetMetaRequest targetMetaRequest)
Specified by:
visitSessionContext in interface ComponentVisitor