Clover coverage report - PicoContainer - 1.1
Coverage timestamp: Thu Nov 4 2004 11:55:45 CST
file stats: LOC: 32   Methods: 2
NCLOC: 13   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
SynchronizedComponentAdapter.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   
 
 13   
 import org.picocontainer.ComponentAdapter;
 14   
 import org.picocontainer.PicoContainer;
 15   
 import org.picocontainer.PicoInitializationException;
 16   
 import org.picocontainer.PicoIntrospectionException;
 17   
 
 18   
 /**
 19   
  * @author Aslak Hellesøy
 20   
  * @author Manish Shah
 21   
  * @version $Revision: 1.6 $
 22   
  */
 23   
 public class SynchronizedComponentAdapter extends DecoratingComponentAdapter {
 24  16
     public SynchronizedComponentAdapter(ComponentAdapter delegate) {
 25  16
         super(delegate);
 26   
     }
 27   
 
 28  76
     public synchronized Object getComponentInstance(PicoContainer container) throws PicoInitializationException, PicoIntrospectionException {
 29  76
         return super.getComponentInstance(container);
 30   
     }
 31   
 }
 32