| java.lang.Object org.picocontainer.visitors.AbstractPicoVisitor org.picocontainer.visitors.TraversalCheckingVisitor org.picocontainer.visitors.MethodCallingVisitor
MethodCallingVisitor | public class MethodCallingVisitor extends TraversalCheckingVisitor implements Serializable(Code) | | A PicoVisitor implementation, that calls methods on the components of a specific type.
author: Aslak Hellesøy author: Jörg Schaible |
Constructor Summary | |
public | MethodCallingVisitor(Method method, Class ofType, Object[] arguments, boolean visitInInstantiationOrder) Construct a MethodCallingVisitor for a method with arguments. | public | MethodCallingVisitor(Method method, Class ofType, Object[] arguments) Construct a MethodCallingVisitor for standard methods visiting the component in instantiation order. |
MethodCallingVisitor | public MethodCallingVisitor(Method method, Class ofType, Object[] arguments, boolean visitInInstantiationOrder)(Code) | | Construct a MethodCallingVisitor for a method with arguments.
Parameters: method - the Method to invoke Parameters: ofType - the type of the components, that will be invoked Parameters: visitInInstantiationOrder - true if components are visited in instantiation order Parameters: arguments - the arguments for the method invocation (may be null ) throws: NullPointerException - if method, or ofType is null |
MethodCallingVisitor | public MethodCallingVisitor(Method method, Class ofType, Object[] arguments)(Code) | | Construct a MethodCallingVisitor for standard methods visiting the component in instantiation order.
Parameters: method - the method to invoke Parameters: ofType - the type of the components, that will be invoked Parameters: arguments - the arguments for the method invocation (may be null ) throws: NullPointerException - if method, or ofType is null |
|
|