Uses of Interface
org.picocontainer.ComponentFactory
-
Packages that use ComponentFactory Package Description org.picocontainer This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.org.picocontainer.behaviors BehaviorFactories make Behaviors which change aspects of component implementations and instancesorg.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 injectionorg.picocontainer.visitors -
-
Uses of ComponentFactory in org.picocontainer
Subinterfaces of ComponentFactory in org.picocontainer Modifier and Type Interface Description interfaceBehaviorFactoryExtends ComponentFactory to provide factory methods for BehaviorsinterfaceInjectionFactoryFields in org.picocontainer declared as ComponentFactory Modifier and Type Field Description protected ComponentFactoryDefaultPicoContainer. componentFactoryComponent factory instance.Methods in org.picocontainer that return ComponentFactory Modifier and Type Method Description ComponentFactoryBehaviorFactory. wrap(ComponentFactory delegate)Methods in org.picocontainer with parameters of type ComponentFactory Modifier and Type Method Description voidPicoVisitor. visitComponentFactory(ComponentFactory componentFactory)Visit aComponentAdapterthat has to accept the visitor.PicoBuilderPicoBuilder. withComponentFactory(ComponentFactory componentFactory)ComponentFactoryBehaviorFactory. wrap(ComponentFactory delegate)Method parameters in org.picocontainer with type arguments of type ComponentFactory Modifier and Type Method Description PicoBuilderPicoBuilder. withComponentFactory(java.lang.Class<? extends ComponentFactory> componentFactoryClass)Constructors in org.picocontainer with parameters of type ComponentFactory Constructor 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. -
Uses of ComponentFactory in org.picocontainer.behaviors
Classes in org.picocontainer.behaviors that implement ComponentFactory Modifier and Type Class Description classAbstractBehaviorFactoryclassAdaptingBehaviorclassAutomatingclassCachingfactory class creating cached behavioursclassDecoratingBehaviorFactory for Decorating.classFieldDecoratingBehaviorFactory for Field Decorating.classGuardingfactory class creating guard behaviourclassImplementationHidingclassInterceptingclassLockingThis behavior factory provides java.util.concurrent locks.classOptInCachingBehavior that turns off Caching behavior by default.classPropertyApplyingAComponentFactorythat createsPropertyApplicatorinstances.classStoringclassSynchronizingThis behavior factory provides synchronized wrappers to control access to a particular component.classThreadCachingMethods in org.picocontainer.behaviors that return ComponentFactory Modifier and Type Method Description ComponentFactoryAbstractBehaviorFactory. wrap(ComponentFactory delegate)ComponentFactoryAdaptingBehavior. wrap(ComponentFactory delegate)Methods in org.picocontainer.behaviors with parameters of type ComponentFactory Modifier and Type Method Description ComponentFactoryAbstractBehaviorFactory. wrap(ComponentFactory delegate)ComponentFactoryAdaptingBehavior. wrap(ComponentFactory delegate) -
Uses of ComponentFactory in org.picocontainer.classname
Constructors in org.picocontainer.classname with parameters of type ComponentFactory Constructor Description DefaultClassLoadingPicoContainer(java.lang.ClassLoader classLoader, ComponentFactory componentFactory, PicoContainer parent)DefaultClassLoadingPicoContainer(ComponentFactory componentFactory)DefaultClassLoadingPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, java.lang.ClassLoader cl, ComponentMonitor componentMonitor) -
Uses of ComponentFactory in org.picocontainer.containers
Constructors in org.picocontainer.containers with parameters of type ComponentFactory Constructor 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) -
Uses of ComponentFactory in org.picocontainer.injectors
Classes in org.picocontainer.injectors that implement ComponentFactory Modifier and Type Class Description classAbstractInjectionFactoryclassAdaptingInjectionCreates injector instances, depending on the injection characteristics of the component class.classAnnotatedFieldInjectionAInjectionFactoryfor Guice-style annotated fields.classAnnotatedMethodInjectionAInjectionFactoryfor Guice-style annotated methods.classCompositeInjectionA Composite of other types on InjectionFactories - pass them into the varargs constructor.classConstructorInjectionAInjectionFactoryfor constructor injection.classForgetfulConstructorInjectionConstructor Injection where 'which constructor?' is re-calculated each time an instance is asked to construct a component.classMethodInjectionAInjectionFactoryfor methods.classMethodInjection.MethodInjectionByNameclassMethodInjection.MethodInjectionByReflectionMethodclassMultiInjectionclassNamedFieldInjectionAInjectionFactoryfor named fields.classNamedMethodInjectionclassReinjectionclassSetterInjectionAInjectionFactoryfor JavaBeans.classTypedFieldInjectionAInjectionFactoryfor named fields. -
Uses of ComponentFactory in org.picocontainer.visitors
Methods in org.picocontainer.visitors with parameters of type ComponentFactory Modifier and Type Method Description voidTraversalCheckingVisitor. visitComponentFactory(ComponentFactory componentFactory)Visit aComponentAdapterthat has to accept the visitor.voidVerifyingVisitor. visitComponentFactory(ComponentFactory componentFactory)
-