Clover coverage report - PicoContainer - 1.0
Coverage timestamp: Sat Jun 5 2004 21:34:14 EDT
file stats: LOC: 32   Methods: 3
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
InstanceComponentAdapter.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   
  * @author Aslak Hellesøy
 14   
  * @author Paul Hammant
 15   
  * @version $Revision: 1.11 $
 16   
  */
 17   
 public class InstanceComponentAdapter extends AbstractComponentAdapter {
 18   
     private Object componentInstance;
 19   
 
 20  66
     public InstanceComponentAdapter(Object componentKey, Object componentInstance) throws AssignabilityRegistrationException, NotConcreteRegistrationException {
 21  66
         super(componentKey, componentInstance.getClass());
 22  66
         this.componentInstance = componentInstance;
 23   
     }
 24   
 
 25  60
     public Object getComponentInstance() {
 26  60
         return componentInstance;
 27   
     }
 28   
 
 29  2
     public void verify() {
 30   
     }
 31   
 }
 32