Uses of Interface
org.picocontainer.PicoContainer
-
Packages that use PicoContainer Package Description org.picocontainer This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.org.picocontainer.adapters org.picocontainer.behaviors BehaviorFactories make Behaviors which change aspects of component implementations and instancesorg.picocontainer.classname org.picocontainer.composers Composers collaborate with ComposingMonitor to collect subsets of components for injection according to an scheme like:org.picocontainer.containers Containers are the main user entry point for PicoContainer.org.picocontainer.injectors InjectionFactories make Injectors which implement specific types of dependency injectionorg.picocontainer.monitors A Monitor is something PicoContainer uses to inform on events in component instantiation and lifecycle.org.picocontainer.parameters org.picocontainer.visitors -
-
Uses of PicoContainer in org.picocontainer
Subinterfaces of PicoContainer in org.picocontainer Modifier and Type Interface Description interface
MutablePicoContainer
This is the core interface used for registration of components with a container.Classes in org.picocontainer that implement PicoContainer Modifier and Type Class Description class
DefaultPicoContainer
The StandardPicoContainer
/MutablePicoContainer
implementation.Methods in org.picocontainer that return PicoContainer Modifier and Type Method Description PicoContainer
DefaultPicoContainer. getParent()
Retrieve the parent container of this container.PicoContainer
PicoContainer. getParent()
Retrieve the parent container of this container.Methods in org.picocontainer with parameters of type PicoContainer Modifier and Type Method Description MutablePicoContainer
DefaultPicoContainer. addChildContainer(PicoContainer child)
MutablePicoContainer
MutablePicoContainer. addChildContainer(PicoContainer child)
Add a child container.java.lang.Object
Injector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
A preexiting component instance can be injected into after instantiationvoid
ComponentLifecycle. dispose(PicoContainer container)
Invoke the "dispose" method on the component.T
ComponentAdapter. getComponentInstance(PicoContainer container)
Deprecated.since PicoContainer 2.2.T
ComponentAdapter. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
Retrieve the component instance.T
DefaultPicoContainer.KnowsContainerAdapter. getComponentInstance(PicoContainer container)
T
DefaultPicoContainer.KnowsContainerAdapter. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
java.lang.Object
DefaultPicoContainer.LateInstance. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
<T> void
ComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
Event thrown after the component has been instantiated using the given constructor.<T> java.lang.reflect.Constructor<T>
ComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
Event thrown as the component is being instantiated using the given constructor<T> void
ComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
Event thrown if the component instantiation failed using the given constructorvoid
ComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
Event thrown after the component method has been invoked on the given instancejava.lang.Object
ComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
Event thrown as the component method is being invoked on the given instanceboolean
Parameter. isResolvable(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.boolean
DefaultPicoContainer. removeChildContainer(PicoContainer child)
boolean
MutablePicoContainer. removeChildContainer(PicoContainer child)
Remove a child container from this container.Parameter.Resolver
Parameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check if the Parameter can satisfy the expected type using the container.java.lang.Object
Parameter. resolveInstance(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.static void
Emjection. setupEmjection(java.lang.Object inst, PicoContainer container)
void
ComponentLifecycle. start(PicoContainer container)
Invoke the "start" method on the component.void
ComponentLifecycle. stop(PicoContainer container)
Invoke the "stop" method on the component.void
ComponentAdapter. verify(PicoContainer container)
Verify that all dependencies for this adapter can be satisfied.void
ComponentFactory. verify(PicoContainer container)
Verification for the ComponentFactory - subject to implementation.void
DefaultPicoContainer.KnowsContainerAdapter. verify(PicoContainer container)
void
DefaultPicoContainer.LateInstance. verify(PicoContainer container)
void
Parameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the containerboolean
PicoVisitor. visitContainer(PicoContainer pico)
Visit aPicoContainer
that has to accept the visitor.Constructors in org.picocontainer with parameters of type PicoContainer Constructor Description DefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with a custom ComponentFactory, LifecycleStrategy for instance registration, and a parent container.DefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, ComponentMonitor componentMonitor)
DefaultPicoContainer(ComponentFactory componentFactory, PicoContainer parent)
Creates a new container with a custom ComponentFactory and a parent container.DefaultPicoContainer(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom ComponentMonitor and lifecycle strategyDefaultPicoContainer(ComponentMonitor monitor, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom ComponentMonitorDefaultPicoContainer(LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom lifecycle strategyDefaultPicoContainer(PicoContainer parent)
Creates a new container with a (caching)AdaptingInjection
and a parent container.KnowsContainerAdapter(ComponentAdapter<T> ca, PicoContainer ctr)
PicoBuilder(PicoContainer parentContainer)
Constructs a PicoBuilder using the specified PicoContainer as an argument.PicoBuilder(PicoContainer parentContainer, InjectionFactory injectionType)
-
Uses of PicoContainer in org.picocontainer.adapters
Methods in org.picocontainer.adapters with parameters of type PicoContainer Modifier and Type Method Description void
InstanceAdapter. dispose(PicoContainer container)
T
AbstractAdapter. getComponentInstance(PicoContainer container)
T
InstanceAdapter. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
void
InstanceAdapter. start(PicoContainer container)
void
InstanceAdapter. stop(PicoContainer container)
void
InstanceAdapter. verify(PicoContainer container)
-
Uses of PicoContainer in org.picocontainer.behaviors
Methods in org.picocontainer.behaviors with parameters of type PicoContainer Modifier and Type Method Description protected T
HiddenImplementation. createProxy(java.lang.Class[] interfaces, PicoContainer container, java.lang.ClassLoader classLoader)
void
AbstractBehavior. dispose(PicoContainer container)
Invokes delegate dispose method if the delegate is a Behavior Invoke the "dispose" method on the component.void
Stored. dispose(PicoContainer container)
Disposes the cached component instance Invokes delegate dispose method if the delegate is a Behavior Invoke the "dispose" method on the component.T
AbstractBehavior. getComponentInstance(PicoContainer container)
T
AbstractBehavior. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
Decorated. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
java.lang.Object
FieldDecorated. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
Guarded. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
HiddenImplementation. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
Locked. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
PropertyApplicator. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
Get a component instance and set given property values.T
Stored. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
Synchronized. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
protected java.lang.Object
HiddenImplementation. invokeMethod(java.lang.Object componentInstance, java.lang.reflect.Method method, java.lang.Object[] args, PicoContainer container)
protected java.lang.Object
Intercepted. invokeMethod(java.lang.Object componentInstance, java.lang.reflect.Method method, java.lang.Object[] args, PicoContainer container)
void
AbstractBehavior. start(PicoContainer container)
Invokes delegate start method if the delegate is a Behavior Invoke the "start" method on the component.void
Stored. start(PicoContainer container)
Starts the cached component instance Invokes delegate start method if the delegate is a Behavior Invoke the "start" method on the component.void
AbstractBehavior. stop(PicoContainer container)
Invokes delegate stop method if the delegate is a Behavior Invoke the "stop" method on the component.void
Stored. stop(PicoContainer container)
Stops the cached component instance Invokes delegate stop method if the delegate is a Behavior Invoke the "stop" method on the component.void
AbstractBehavior. verify(PicoContainer container)
void
AbstractBehaviorFactory. verify(PicoContainer container)
void
AdaptingBehavior. verify(PicoContainer container)
-
Uses of PicoContainer in org.picocontainer.classname
Subinterfaces of PicoContainer in org.picocontainer.classname Modifier and Type Interface Description interface
ClassLoadingPicoContainer
A ClassLoadingPicoContainer extends PicoContainer with classloader juggling capabilityClasses in org.picocontainer.classname that implement PicoContainer Modifier and Type Class Description class
DefaultClassLoadingPicoContainer
Default implementation of ClassLoadingPicoContainer.Fields in org.picocontainer.classname with type parameters of type PicoContainer Modifier and Type Field Description protected java.util.Map<java.lang.String,PicoContainer>
DefaultClassLoadingPicoContainer. namedChildContainers
Methods in org.picocontainer.classname that return types with arguments of type PicoContainer Modifier and Type Method Description protected java.util.Map<java.lang.String,PicoContainer>
DefaultClassLoadingPicoContainer. getNamedContainers()
Methods in org.picocontainer.classname with parameters of type PicoContainer Modifier and Type Method Description ClassLoadingPicoContainer
ClassLoadingPicoContainer. addChildContainer(java.lang.String name, PicoContainer child)
Addes a child container with a given nameClassLoadingPicoContainer
DefaultClassLoadingPicoContainer. addChildContainer(java.lang.String name, PicoContainer child)
MutablePicoContainer
DefaultClassLoadingPicoContainer. addChildContainer(PicoContainer child)
boolean
DefaultClassLoadingPicoContainer. removeChildContainer(PicoContainer child)
Constructors in org.picocontainer.classname with parameters of type PicoContainer Constructor Description DefaultClassLoadingPicoContainer(java.lang.ClassLoader classLoader, ComponentFactory componentFactory, PicoContainer parent)
DefaultClassLoadingPicoContainer(java.lang.ClassLoader classLoader, PicoContainer parent, ComponentMonitor componentMonitor)
DefaultClassLoadingPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, java.lang.ClassLoader cl, ComponentMonitor componentMonitor)
DefaultClassLoadingPicoContainer(PicoContainer parent)
-
Uses of PicoContainer in org.picocontainer.composers
Methods in org.picocontainer.composers with parameters of type PicoContainer Modifier and Type Method Description java.lang.Object
RegexComposer. compose(PicoContainer container, java.lang.Object componentKey)
-
Uses of PicoContainer in org.picocontainer.containers
Classes in org.picocontainer.containers that implement PicoContainer Modifier and Type Class Description class
AbstractDelegatingMutablePicoContainer
abstract base class for delegating to mutable containersclass
AbstractDelegatingPicoContainer
Abstract base class for immutable delegation to a PicoContainerclass
CommandLineArgumentsPicoContainer
Deprecated.UseCommandLinePicoContainer
instead.class
CommandLinePicoContainer
CommandLineArgumentsPicoContainer configured itself from array of strings which are most likely coming in as command line argumentsclass
CompositePicoContainer
CompositePicoContainer takes a var-args list of containers and will query them in turn for getComponent(*) and getComponentAdapter(*) requests.class
EmptyPicoContainer
Empty pico container serving as recoil damper in situations where you do not like to check whether container reference supplied to you is null or notclass
ImmutablePicoContainer
wrap pico container to achieve immutability Typically its used to mock a parent container.class
PropertiesPicoContainer
immutable pico container constructed from properties.class
SystemPropertiesPicoContainer
A container backed by system properties (is a PropertiesPicoContainer)class
TieringPicoContainer
class
TransientPicoContainer
Methods in org.picocontainer.containers that return PicoContainer Modifier and Type Method Description PicoContainer
AbstractDelegatingPicoContainer. getDelegate()
PicoContainer
AbstractDelegatingPicoContainer. getParent()
PicoContainer
CommandLinePicoContainer. getParent()
PicoContainer
CompositePicoContainer. getParent()
PicoContainer
EmptyPicoContainer. getParent()
PicoContainer
ImmutablePicoContainer. getParent()
PicoContainer
TieringPicoContainer. getParent()
Methods in org.picocontainer.containers with parameters of type PicoContainer Modifier and Type Method Description MutablePicoContainer
AbstractDelegatingMutablePicoContainer. addChildContainer(PicoContainer child)
boolean
AbstractDelegatingMutablePicoContainer. removeChildContainer(PicoContainer child)
Constructors in org.picocontainer.containers with parameters of type PicoContainer Constructor Description AbstractDelegatingPicoContainer(PicoContainer delegate)
CommandLineArgumentsPicoContainer(java.lang.String[] arguments, PicoContainer parent)
Deprecated.CommandLineArgumentsPicoContainer(java.lang.String separator, java.io.StringReader argumentProperties, java.lang.String[] arguments, PicoContainer parent)
Deprecated.CommandLineArgumentsPicoContainer(java.lang.String separator, java.lang.String[] arguments, PicoContainer parent)
Deprecated.CommandLinePicoContainer(java.lang.String[] arguments, PicoContainer parent)
CommandLinePicoContainer(java.lang.String separator, java.io.StringReader argumentProperties, java.lang.String[] arguments, PicoContainer parent)
CommandLinePicoContainer(java.lang.String separator, java.lang.String[] arguments, PicoContainer parent)
CompositePicoContainer(PicoContainer... containers)
ImmutablePicoContainer(PicoContainer delegate)
PropertiesPicoContainer(java.util.Properties properties, PicoContainer parent)
create with parent container and populate from propertiesSystemPropertiesPicoContainer(PicoContainer parent)
TieringPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with a custom ComponentFactory, LifecycleStrategy for instance registration, and a parent container.TieringPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, ComponentMonitor componentMonitor)
TieringPicoContainer(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom ComponentMonitor and lifecycle strategyTieringPicoContainer(ComponentMonitor monitor, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom ComponentMonitorTieringPicoContainer(LifecycleStrategy lifecycleStrategy, PicoContainer parent)
Creates a new container with the AdaptingInjection using a custom lifecycle strategyTieringPicoContainer(PicoContainer parent)
Creates a new container with a (caching)AdaptingInjection
and a parent container.TransientPicoContainer(ComponentFactory componentFactory, PicoContainer parent)
TransientPicoContainer(PicoContainer parent)
-
Uses of PicoContainer in org.picocontainer.injectors
Methods in org.picocontainer.injectors with parameters of type PicoContainer Modifier and Type Method Description protected T
AbstractInjector. caughtIllegalAccessException(ComponentMonitor componentMonitor, java.lang.reflect.Constructor<T> constructor, java.lang.IllegalAccessException e, PicoContainer container)
inform monitor about access exception.protected T
AbstractInjector. caughtInstantiationException(ComponentMonitor componentMonitor, java.lang.reflect.Constructor<T> constructor, java.lang.InstantiationException e, PicoContainer container)
inform monitor about component instantiation failurejava.lang.Object
AbstractInjector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
java.lang.Object
CompositeInjector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
java.lang.Object
FactoryInjector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
java.lang.Object
IterativeInjector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
java.lang.Object
MethodInjector. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, T instance)
java.lang.Object
ProviderAdapter. decorateComponentInstance(PicoContainer container, java.lang.reflect.Type into, java.lang.Object instance)
void
FactoryInjector. dispose(PicoContainer container)
T
AbstractInjector. getComponentInstance(PicoContainer container)
abstract T
AbstractInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
CompositeInjector. getComponentInstance(PicoContainer container)
T
CompositeInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
ConstructorInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
FactoryInjector. getComponentInstance(PicoContainer container)
abstract T
FactoryInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
IterativeInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
T
MethodInjector. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
java.lang.Object
ProviderAdapter. getComponentInstance(PicoContainer container)
Deprecated.java.lang.Object
ProviderAdapter. getComponentInstance(PicoContainer container, java.lang.reflect.Type into)
protected ConstructorInjector.CtorAndAdapters<T>
ConstructorInjector. getGreediestSatisfiableConstructor(PicoContainer container)
protected java.lang.Object[]
MethodInjector. getMemberArguments(PicoContainer container, java.lang.reflect.Method method)
protected java.lang.Object[]
SingleMemberInjector. getMemberArguments(PicoContainer container, java.lang.reflect.AccessibleObject member, java.lang.reflect.Type[] parameterTypes, java.lang.annotation.Annotation[] bindings)
protected java.lang.Object
SingleMemberInjector. getParameter(PicoContainer container, java.lang.reflect.AccessibleObject member, int i, java.lang.reflect.Type parameterType, java.lang.annotation.Annotation binding, Parameter currentParameter, ComponentAdapter<?> injecteeAdapter)
java.lang.Object[]
ConstructorInjector.CtorAndAdapters. getParameterArguments(PicoContainer container)
void
FactoryInjector. start(PicoContainer container)
void
FactoryInjector. stop(PicoContainer container)
protected void
AbstractFieldInjector. unsatisfiedDependencies(PicoContainer container, java.util.Set<java.lang.reflect.Type> unsatisfiableDependencyTypes, java.util.List<java.lang.reflect.AccessibleObject> unsatisfiableDependencyMembers)
protected abstract void
IterativeInjector. unsatisfiedDependencies(PicoContainer container, java.util.Set<java.lang.reflect.Type> unsatisfiableDependencyTypes, java.util.List<java.lang.reflect.AccessibleObject> unsatisfiableDependencyMembers)
protected void
SetterInjector. unsatisfiedDependencies(PicoContainer container, java.util.Set<java.lang.reflect.Type> unsatisfiableDependencyTypes, java.util.List<java.lang.reflect.AccessibleObject> unsatisfiableDependencyMembers)
void
AbstractInjectionFactory. verify(PicoContainer container)
void
AbstractInjector. verify(PicoContainer container)
void
CompositeInjector. verify(PicoContainer container)
void
ConstructorInjector. verify(PicoContainer container)
void
FactoryInjector. verify(PicoContainer container)
void
IterativeInjector. verify(PicoContainer container)
void
MethodInjector. verify(PicoContainer container)
void
ProviderAdapter. verify(PicoContainer container)
Constructors in org.picocontainer.injectors with parameters of type PicoContainer Constructor Description Reinjection(InjectionFactory reinjectionFactory, PicoContainer parent)
Reinjector(PicoContainer parentContainer)
Make a reinjector with a parent container from which to pull components to be reinjected to.Reinjector(PicoContainer parentContainer, ComponentMonitor monitor)
Make a reinjector with a parent container from which to pull components to be reinjected to -
Uses of PicoContainer in org.picocontainer.monitors
Methods in org.picocontainer.monitors with parameters of type PicoContainer Modifier and Type Method Description java.lang.Object
ComposingMonitor.Composer. compose(PicoContainer container, java.lang.Object componentKey)
<T> void
AbstractComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> void
ConsoleComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] parameters, long duration)
<T> void
LifecycleComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] parameters, long duration)
<T> void
NullComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> void
WriterComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> java.lang.reflect.Constructor<T>
AbstractComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
ConsoleComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
LifecycleComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
NullComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
WriterComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> void
AbstractComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception e)
<T> void
ConsoleComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
<T> void
LifecycleComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
<T> void
NullComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception e)
<T> void
WriterComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
void
AbstractComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
ConsoleComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
LifecycleComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
NullComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
WriterComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
java.lang.Object
AbstractComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
ConsoleComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
LifecycleComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
NullComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
WriterComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
-
Uses of PicoContainer in org.picocontainer.parameters
Methods in org.picocontainer.parameters with parameters of type PicoContainer Modifier and Type Method Description protected java.util.Map<java.lang.Object,ComponentAdapter<?>>
CollectionComponentParameter. getMatchingComponentAdapters(PicoContainer container, ComponentAdapter adapter, java.lang.Class keyType, java.lang.Class valueType)
Collect the matching ComponentAdapter instances.boolean
AbstractParameter. isResolvable(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.Parameter.Resolver
BasicComponentParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check whether the given Parameter can be satisfied by the container.Parameter.Resolver
CollectionComponentParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check for a successful dependency resolution of the parameter for the expected type.Parameter.Resolver
ComponentParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
ConstantParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
DefaultConstructorParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
NullParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check if the Parameter can satisfy the expected type using the container.protected <T> ComponentAdapter<T>
BasicComponentParameter. resolveAdapter(PicoContainer container, ComponentAdapter adapter, java.lang.Class<T> expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
java.lang.Object
AbstractParameter. resolveInstance(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.void
BasicComponentParameter. verify(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
CollectionComponentParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify a successful dependency resolution of the parameter for the expected type.void
ComponentParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
ConstantParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the containervoid
DefaultConstructorParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
NullParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the container -
Uses of PicoContainer in org.picocontainer.visitors
Methods in org.picocontainer.visitors with parameters of type PicoContainer Modifier and Type Method Description boolean
MethodCallingVisitor. visitContainer(PicoContainer pico)
boolean
TraversalCheckingVisitor. visitContainer(PicoContainer pico)
Visit aPicoContainer
that has to accept the visitor.boolean
VerifyingVisitor. visitContainer(PicoContainer pico)
-