Clover coverage report - PicoContainer - 1.0-RC-1
Coverage timestamp: Tue May 18 2004 16:19:33 EDT
file stats: LOC: 32   Methods: 2
NCLOC: 18   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
DecoratingComponentAdapterFactory.java - 100% 100% 100%
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                                                          *
 9   
  *****************************************************************************/
 10   
 package org.picocontainer.defaults;
 11   
 
 12   
 import org.picocontainer.ComponentAdapter;
 13   
 import org.picocontainer.Parameter;
 14   
 import org.picocontainer.PicoIntrospectionException;
 15   
 import org.picocontainer.defaults.AssignabilityRegistrationException;
 16   
 import org.picocontainer.defaults.ComponentAdapterFactory;
 17   
 import org.picocontainer.defaults.NotConcreteRegistrationException;
 18   
 
 19   
 public class DecoratingComponentAdapterFactory implements ComponentAdapterFactory {
 20   
     private final ComponentAdapterFactory delegate;
 21   
 
 22  45
     public DecoratingComponentAdapterFactory(ComponentAdapterFactory delegate) {
 23  45
         this.delegate = delegate;
 24   
     }
 25   
 
 26  49
     public ComponentAdapter createComponentAdapter(Object componentKey,
 27   
                                                    Class componentImplementation,
 28   
                                                    Parameter[] parameters) throws PicoIntrospectionException, AssignabilityRegistrationException, NotConcreteRegistrationException {
 29  49
         return delegate.createComponentAdapter(componentKey, componentImplementation, parameters);
 30   
     }
 31   
 }
 32