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 instances
|
org.picocontainer.classname | |
org.picocontainer.containers |
Containers are the main user entry point for PicoContainer.
|
org.picocontainer.injectors |
InjectionFactories make Injectors which implement specific types of dependency injection
|
org.picocontainer.tck | |
org.picocontainer.visitors |
Modifier and Type | Interface and Description |
---|---|
interface |
BehaviorFactory
Extends ComponentFactory to provide factory methods for Behaviors
|
interface |
InjectionFactory |
Modifier and Type | Class and Description |
---|---|
static class |
PicoBuilderTestCase.CustomComponentFactory |
Modifier and Type | Field and Description |
---|---|
protected ComponentFactory |
DefaultPicoContainer.componentFactory
Component factory instance.
|
Modifier and Type | Method and Description |
---|---|
ComponentFactory |
BehaviorFactory.wrap(ComponentFactory delegate) |
Modifier and Type | Method and Description |
---|---|
void |
PicoVisitor.visitComponentFactory(ComponentFactory componentFactory)
Visit a
ComponentAdapter that has to accept the visitor. |
PicoBuilder |
PicoBuilder.withComponentFactory(ComponentFactory componentFactory) |
ComponentFactory |
BehaviorFactory.wrap(ComponentFactory delegate) |
Modifier and Type | Method and Description |
---|---|
PicoBuilder |
PicoBuilder.withComponentFactory(Class<? extends ComponentFactory> componentFactoryClass) |
Constructor and Description |
---|
DefaultPicoContainer(ComponentFactory componentFactory)
Creates a new container with a custom ComponentFactory and no parent container.
|
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.
|
TestPicoContainer(ComponentFactory componentFactory,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleNamedBindingAnnotationTestCase.FieldInjection |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBehaviorFactory |
class |
AdaptingBehavior |
class |
Automating |
class |
Caching
factory class creating cached behaviours
|
class |
Decorating
BehaviorFactory for Decorating.
|
class |
FieldDecorating
BehaviorFactory for Field Decorating.
|
class |
Guarding
factory class creating guard behaviour
|
class |
ImplementationHiding |
class |
Intercepting |
class |
Locking
This behavior factory provides java.util.concurrent locks.
|
class |
OptInCaching
Behavior that turns off Caching behavior by default.
|
class |
PropertyApplying
A
ComponentFactory that creates
PropertyApplicator instances. |
class |
Storing |
class |
Synchronizing
This behavior factory provides synchronized wrappers to control access to a particular component.
|
class |
ThreadCaching |
Modifier and Type | Method and Description |
---|---|
protected ComponentFactory |
SynchronizingTestCase.createComponentFactory() |
protected ComponentFactory |
PropertyApplyingTestCase.createComponentFactory() |
protected ComponentFactory |
LockingTestCase.createComponentFactory() |
protected ComponentFactory |
GuardingTestCase.createComponentFactory() |
protected ComponentFactory |
CachingTestCase.createComponentFactory() |
protected ComponentFactory |
ImplementationHidingTestCase.createComponentFactory() |
protected ComponentFactory |
OptInCachingTestCase.createComponentFactory() |
ComponentFactory |
AbstractBehaviorFactory.wrap(ComponentFactory delegate) |
ComponentFactory |
AdaptingBehavior.wrap(ComponentFactory delegate) |
Modifier and Type | Method and Description |
---|---|
ComponentFactory |
AbstractBehaviorFactory.wrap(ComponentFactory delegate) |
ComponentFactory |
AdaptingBehavior.wrap(ComponentFactory delegate) |
Constructor and Description |
---|
DefaultClassLoadingPicoContainer(ClassLoader classLoader,
ComponentFactory componentFactory,
PicoContainer parent) |
DefaultClassLoadingPicoContainer(ComponentFactory componentFactory) |
DefaultClassLoadingPicoContainer(ComponentFactory componentFactory,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent,
ClassLoader cl,
ComponentMonitor componentMonitor) |
Constructor and Description |
---|
TieringPicoContainer(ComponentFactory componentFactory)
Creates a new container with a custom ComponentFactory and no parent container.
|
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) |
TransientPicoContainer(ComponentFactory componentFactory,
PicoContainer parent) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInjectionFactory |
class |
AdaptingInjection
Creates injector instances, depending on the injection characteristics of the component class.
|
class |
AnnotatedFieldInjection
A
InjectionFactory for Guice-style annotated fields. |
class |
AnnotatedMethodInjection
A
InjectionFactory for Guice-style annotated methods. |
class |
CompositeInjection
A Composite of other types on InjectionFactories - pass them into the varargs constructor.
|
class |
ConstructorInjection
A
InjectionFactory for constructor injection. |
class |
ForgetfulConstructorInjection
Constructor Injection where 'which constructor?' is re-calculated each time an
instance is asked to construct a component.
|
class |
MethodInjection
A
InjectionFactory for methods. |
class |
MethodInjection.MethodInjectionByName |
class |
MethodInjection.MethodInjectionByReflectionMethod |
class |
MultiInjection |
class |
NamedFieldInjection
A
InjectionFactory for named fields. |
class |
NamedMethodInjection |
class |
Reinjection |
class |
SetterInjection
A
InjectionFactory for JavaBeans. |
class |
TypedFieldInjection
A
InjectionFactory for named fields. |
Modifier and Type | Method and Description |
---|---|
protected ComponentFactory |
SetterInjectionTestCase.createComponentFactory() |
protected ComponentFactory |
AnnotatedMethodInjectionTestCase.createComponentFactory() |
protected ComponentFactory |
ConstructorInjectionTestCase.createComponentFactory() |
protected ComponentFactory |
AdaptingInjectionTestCase.createComponentFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract ComponentFactory |
AbstractComponentFactoryTest.createComponentFactory() |
protected ComponentFactory |
AbstractComponentAdapterTest.createDefaultComponentFactory() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPicoContainerTest.RecordingStrategyVisitor.visitComponentFactory(ComponentFactory componentFactory) |
Modifier and Type | Method and Description |
---|---|
void |
VerifyingVisitor.visitComponentFactory(ComponentFactory componentFactory) |
void |
TraversalCheckingVisitor.visitComponentFactory(ComponentFactory componentFactory)
Visit a
ComponentAdapter that has to accept the visitor. |
Copyright © 2003–2015 Codehaus. All rights reserved.