| |
|
| java.lang.Object org.picocontainer.adapters.AbstractAdapter org.picocontainer.gems.adapters.StaticFactoryAdapter
StaticFactoryAdapter | final public class StaticFactoryAdapter extends AbstractAdapter (Code) | | Component adapter that wrapps a static factory with the help of
StaticFactory .
author: Jörg Schaible author: Leo Simmons |
StaticFactoryAdapter | public StaticFactoryAdapter(Class type, StaticFactory staticFactory)(Code) | | Construct a ComponentAdapter accessing a static factory creating the component.
Parameters: type - The type of the created component. Parameters: staticFactory - Wrapper instance for the static factory. |
StaticFactoryAdapter | public StaticFactoryAdapter(Object componentKey, Class type, StaticFactory staticFactory)(Code) | | Construct a ComponentAdapter accessing a static factory creating the component using a special key for addComponent
registration.
Parameters: componentKey - The key of the created component. Parameters: type - The type of the created component. Parameters: staticFactory - Wrapper instance for the static factory. |
|
|
|