Clover coverage report - PicoContainer - 1.0-RC-1
Coverage timestamp: Tue May 18 2004 16:19:33 EDT
file stats: LOC: 43   Methods: 2
NCLOC: 16   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
ThreadLocalComponentAdapterFactory.java - 0% 0% 0%
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.txt file.                                                     *
 7   
  *                                                                           *
 8   
  * Original code by Joerg Schaible                                           *
 9   
  *****************************************************************************/
 10   
 package org.picocontainer.defaults;
 11   
 
 12   
 import org.picocontainer.ComponentAdapter;
 13   
 import org.picocontainer.Parameter;
 14   
 import org.picocontainer.PicoIntrospectionException;
 15   
 
 16   
 
 17   
 /**
 18   
  * A {link@ ComponentAdapterFactory} for {@link ThreadLocalComponentAdapter}s.
 19   
  * @author Jörg Schaible
 20   
  */
 21   
 public class ThreadLocalComponentAdapterFactory
 22   
         extends DecoratingComponentAdapterFactory {
 23   
 
 24   
     /**
 25   
      * Constructs a wrapping {@link ComponentAdapterFactory}.
 26   
      * @param delegate The delegated ComponentAdapterFactory.
 27   
      */
 28  0
     public ThreadLocalComponentAdapterFactory(ComponentAdapterFactory delegate) {
 29  0
         super(delegate);
 30   
     }
 31   
 
 32   
     /**
 33   
      * @see org.picocontainer.defaults.ComponentAdapterFactory#createComponentAdapter(java.lang.Object,
 34   
      *          java.lang.Class, org.picocontainer.Parameter[])
 35   
      */
 36  0
     public ComponentAdapter createComponentAdapter(
 37   
             Object componentKey, Class componentImplementation, Parameter[] parameters)
 38   
             throws PicoIntrospectionException, AssignabilityRegistrationException,
 39   
             NotConcreteRegistrationException {
 40  0
         return new ThreadLocalComponentAdapter(super.createComponentAdapter(
 41   
                 componentKey, componentImplementation, parameters));
 42   
     }
 43   
 }