Coverage Report - org.astrogrid.component.ComponentManager
 
Classes in this File Line Coverage Branch Coverage Complexity
ComponentManager
N/A
N/A
1
 
 1  
 /*$Id: ComponentManager.java,v 1.1 2004/05/04 11:00:12 nw Exp $
 2  
  * Created on 04-May-2004
 3  
  *
 4  
  * Copyright (C) AstroGrid. All rights reserved.
 5  
  *
 6  
  * This software is published under the terms of the AstroGrid 
 7  
  * Software License version 1.2, a copy of which has been included 
 8  
  * with this distribution in the LICENSE.txt file.  
 9  
  *
 10  
 **/
 11  
 package org.astrogrid.component;
 12  
 
 13  
 import org.picocontainer.MutablePicoContainer;
 14  
 import org.picocontainer.Startable;
 15  
 
 16  
 import junit.framework.Test;
 17  
 
 18  
 /**Interface to a container for components.
 19  
  * <p>
 20  
  * Based on an underlying <a href="http://www.picocontainer.org/">PicoContainer</a> implementation
 21  
  * @author Noel Winstanley nw@jb.man.ac.uk 04-May-2004
 22  
  *
 23  
  */
 24  
 public interface ComponentManager extends Startable{
 25  
     
 26  
     /** output human-readable description of contents of container as HTML
 27  
      *  <p>
 28  
      * used for debugging / output to JSP 
 29  
      * Uses descriptions from components that implement the {@link org.astrogrid.jes.component.descriptor.ComponentDescriptor} interface*/
 30  
     public abstract String informationHTML();
 31  
     /** output human-readable description of contents of container */
 32  
     public abstract String information();
 33  
     /** return a suite of installation tests for the components in the container 
 34  
      * <p>
 35  
      * this suite is the composition of all installation tests returned by objects in the container that implement the
 36  
      * {@link org.astrogrid.jes.component.descriptor.ComponentDescriptor} interface
 37  
      * */
 38  
     public abstract Test getSuite();
 39  
     /** get the picocontainer that manages the components */
 40  
     public abstract MutablePicoContainer getContainer();
 41  
 }
 42  
 
 43  
 
 44  
 /* 
 45  
 $Log: ComponentManager.java,v $
 46  
 Revision 1.1  2004/05/04 11:00:12  nw
 47  
 moved pico-container component stuff from jes into common, so it can be used in cea too
 48  
  
 49  
 */