org.picocontainer.extras
Class ImplementationHidingComponentFactory
java.lang.Object
org.picocontainer.extras.ImplementationHidingComponentFactory
- All Implemented Interfaces:
- ComponentFactory
- public class ImplementationHidingComponentFactory
- extends Object
- implements ComponentFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplementationHidingComponentFactory
public ImplementationHidingComponentFactory(ComponentFactory componentFactory)
createComponent
public Object createComponent(ComponentSpecification componentSpec,
Object[] instanceDependencies)
throws PicoInitializationException
- Description copied from interface:
ComponentFactory
- Create a component. Used by the internals of applicable PicoContainers
to instantiate a component.
- Specified by:
createComponent
in interface ComponentFactory
- Parameters:
componentSpec
- instanceDependencies
- The component instances the created component will depend on.
- Throws:
PicoInitializationException
getDependencies
public Class[] getDependencies(Class componentImplementation)
throws PicoIntrospectionException
- Description copied from interface:
ComponentFactory
- Return the types the componentImplementation component depends on.
- Specified by:
getDependencies
in interface ComponentFactory
- Parameters:
componentImplementation
- concrete component class.
- Throws:
PicoIntrospectionException
Copyright © 2003 Codehaus. All Rights Reserved.