Clover coverage report - picocontainer - 1.2-beta-1
Coverage timestamp: Sun May 29 2005 14:29:04 BST
file stats: LOC: 31   Methods: 2
NCLOC: 13   Classes: 1
 
 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: 1600 $
 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    }