ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/Component.java
Revision: 1.5
Committed: Wed Mar 14 23:25:29 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.4: +2 -2 lines
Log Message:
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

File Contents

# User Rev Content
1 ajm 1.2 //---PACKAGE DECLARATION---
2 tdb 1.5 package uk.org.iscream.componentmanager;
3 ajm 1.2
4     //---IMPORTS---
5    
6     /**
7     * This interface should be implemented by any independent
8     * components of the system. It presents a management
9     * interface for all i-scream components.
10     *
11 tdb 1.4 * @author $Author: tdb1 $
12 tdb 1.5 * @version $Id: Component.java,v 1.4 2001/03/14 01:34:25 tdb1 Exp $
13 ajm 1.2 */
14     public interface Component {
15    
16     //---FINAL ATTRIBUTES---
17    
18     //---STATIC METHODS---
19    
20     //---CONSTRUCTORS---
21    
22     //---PUBLIC METHODS---
23    
24     /**
25     * This method starts the implementing component
26     */
27     public void start() throws ComponentStartException;
28 tdb 1.4
29     /**
30     * Does a dependency check. Used mainly at startup to
31     * see if the required dependencies (components) are up
32     * and running.
33     *
34     * @return a boolean value, true if the depdencies are satisfied
35     */
36     public boolean depCheck();
37 ajm 1.2
38     //---PRIVATE METHODS---
39    
40     //---ACCESSOR/MUTATOR METHODS---
41    
42     //---ATTRIBUTES---
43    
44     //---STATIC ATTRIBUTES---
45    
46     }
47