Package | Description |
---|---|
org.picocontainer.defaults |
This package contains the default implementation of the
PicoContainer
API. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMonitoringLifecycleStrategy
Abstract base class for lifecycle strategy implementation supporting a
ComponentMonitor . |
class |
BeanPropertyComponentAdapter
Decorating component adapter that can be used to set additional properties
on a component in a bean style.
|
class |
CachingComponentAdapter
ComponentAdapter implementation that caches the component instance. |
class |
ConstructorInjectionComponentAdapter
Instantiates components using Constructor Injection.
|
class |
DecoratingComponentAdapter
Component adapter which decorates another adapter.
|
class |
DefaultLifecycleStrategy
Default lifecycle strategy.
|
class |
ImplementationHidingComponentAdapter
This component adapter makes it possible to hide the implementation
of a real subject (behind a proxy) provided the key is an interface.
|
class |
InstanceComponentAdapter
Component adapter which wraps a component instance.
|
class |
InstantiatingComponentAdapter
This ComponentAdapter will instantiate a new object for each call to
ComponentAdapter.getComponentInstance(PicoContainer) . |
class |
SetterInjectionComponentAdapter
Instantiates components using empty constructors and
Setter Injection.
|
class |
SynchronizedComponentAdapter |
Modifier and Type | Field and Description |
---|---|
protected LifecycleStrategy |
InstantiatingComponentAdapter.lifecycleStrategy
The strategy used to control the lifecycle
|
private LifecycleStrategy |
ConstructorInjectionComponentAdapterFactory.lifecycleStrategy |
private LifecycleStrategy |
DefaultComponentAdapterFactory.lifecycleStrategy |
private LifecycleStrategy |
InstanceComponentAdapter.lifecycleStrategy |
private LifecycleStrategy |
SetterInjectionComponentAdapterFactory.lifecycleStrategy |
private LifecycleStrategy |
DefaultPicoContainer.lifecycleStrategyForInstanceRegistrations |
Constructor and Description |
---|
ConstructorInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Creates a ConstructorInjectionComponentAdapter
|
ConstructorInjectionComponentAdapterFactory(boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy) |
ConstructorInjectionComponentAdapterFactory(boolean allowNonPublicClasses,
LifecycleStrategy lifecycleStrategy) |
DefaultComponentAdapterFactory(ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy) |
DefaultPicoContainer(ComponentAdapterFactory componentAdapterFactory,
LifecycleStrategy lifecycleStrategyForInstanceRegistrations,
PicoContainer parent)
Creates a new container with a custom ComponentAdapterFactory, LifecycleStrategy for instance registration,
and a parent container.
|
DefaultPicoContainer(ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent)
Creates a new container with the DefaultComponentAdapterFactory using a
custom ComponentMonitor and lifecycle strategy
|
DefaultPicoContainer(LifecycleStrategy lifecycleStrategy,
PicoContainer parent)
Creates a new container with the DefaultComponentAdapterFactory using a
custom lifecycle strategy
|
InstanceComponentAdapter(java.lang.Object componentKey,
java.lang.Object componentInstance,
LifecycleStrategy lifecycleStrategy) |
InstantiatingComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Constructs a new ComponentAdapter for the given key and implementation.
|
SetterInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Constructs a SetterInjectionComponentAdapter
|
SetterInjectionComponentAdapterFactory(boolean allowNonPublicClasses,
LifecycleStrategy lifecycleStrategy) |