Component Factories

A component will be instantiated via a instance of ComponentFactory.  There is no NullObject implementation of this. This is pluggable of course.



public interface ComponentFactory {
    Object createComponent(
            Class compType, 
            Constructor constructor, 
            Object[] args) 
        throws PicoInvocationTargetInitailizationException;
}

DefaultComponentFactory

This component factory uses basic reflection to instantiate a component.



One that logs instantiations ?