Clover coverage report - PicoContainer - 1.0-alpha-1
Coverage timestamp: Sun Jun 29 2003 20:23:11 BST
file stats: LOC: 30   Methods: 0
NCLOC: 6   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
ComponentFactory.java - - - -
coverage
 1   
 /*****************************************************************************
 2   
  * Copyright (C) PicoContainer Organization. All rights reserved.            *
 3   
  * ------------------------------------------------------------------------- *
 4   
  * The software in this package is published under the terms of the BSD      *
 5   
  * style license a copy of which has been included with this distribution in *
 6   
  * the license.html file.                                                    *
 7   
  *                                                                           *
 8   
  * Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant   *
 9   
  *****************************************************************************/
 10   
 
 11   
 package picocontainer;
 12   
 
 13   
 import java.lang.reflect.Constructor;
 14   
 import java.lang.reflect.InvocationTargetException;
 15   
 
 16   
 public interface ComponentFactory {
 17   
 
 18   
     /**
 19   
      * Create a component. Used by the internals of applicable PicoContainers
 20   
      * to instantiate a component.
 21   
      * @param compType The component type to instantiate
 22   
      * @param constructor The constructor to use to create the component.
 23   
      * @param args The arguments to pass in to the constructor
 24   
      * @return The component
 25   
      * @throws PicoInvocationTargetInitailizationException If a problem creating the component.
 26   
      */
 27   
     Object createComponent(Class compType, Constructor constructor, Object[] args) throws PicoInvocationTargetInitailizationException;
 28   
 
 29   
 }
 30