public static class AbstractPicoContainerTest.RecordingStrategyVisitor extends AbstractPicoVisitor
AbstractPicoVisitor.PicoVisitorTraversalException
ABORT_TRAVERSAL, CONTINUE_TRAVERSAL
Constructor and Description |
---|
RecordingStrategyVisitor(List<Object> list) |
Modifier and Type | Method and Description |
---|---|
void |
visitComponentAdapter(ComponentAdapter componentAdapter)
Visit a
ComponentAdapter that has to accept the visitor. |
void |
visitComponentFactory(ComponentFactory componentFactory)
Visit a
ComponentAdapter that has to accept the visitor. |
boolean |
visitContainer(PicoContainer pico)
Visit a
PicoContainer that has to accept the visitor. |
void |
visitParameter(Parameter parameter)
Visit a
Parameter that has to accept the visitor. |
checkTraversal, traverse
public RecordingStrategyVisitor(List<Object> list)
public boolean visitContainer(PicoContainer pico)
PicoVisitor
PicoContainer
that has to accept the visitor.pico
- the visited container.public void visitComponentAdapter(ComponentAdapter componentAdapter)
PicoVisitor
ComponentAdapter
that has to accept the visitor.componentAdapter
- the visited ComponentAdapter.public void visitComponentFactory(ComponentFactory componentFactory)
PicoVisitor
ComponentAdapter
that has to accept the visitor.public void visitParameter(Parameter parameter)
PicoVisitor
Parameter
that has to accept the visitor.parameter
- the visited Parameter.Copyright © 2003–2016 Codehaus. All rights reserved.