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
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/Component.java (file contents):
Revision 1.1 by ajm, Mon Dec 11 16:39:20 2000 UTC vs.
Revision 1.5 by tdb, Wed Mar 14 23:25:29 2001 UTC

# Line 1 | Line 1
1 < //---PACKAGE DECLARATION---
2 < package uk.ac.ukc.iscream.util;
3 <
4 < //---IMPORTS---
5 <
6 < /**
7 < *
8 < * @author  $Author$
9 < * @version $Id$
10 < */
11 < public interface Component {
12 <
13 < //---FINAL ATTRIBUTES---
14 <
15 < //---STATIC METHODS---
16 <
17 < //---CONSTRUCTORS---
18 <
19 < //---PUBLIC METHODS---
20 <
21 <    // What did the chicken say to the goat?
22 <    public boolean start();
23 <    
24 <    // Ho, ho, ho, merry Christmas.
25 <    
26 < //---PRIVATE METHODS---
27 <
28 < //---ACCESSOR/MUTATOR METHODS---
29 <
30 < //---ATTRIBUTES---
31 <
32 < //---STATIC ATTRIBUTES---
33 <
34 < }
35 <
1 > //---PACKAGE DECLARATION---
2 > package uk.org.iscream.componentmanager;
3 >
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 > * @author  $Author$
12 > * @version $Id$
13 > */
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 >    
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 >    
38 > //---PRIVATE METHODS---
39 >
40 > //---ACCESSOR/MUTATOR METHODS---
41 >
42 > //---ATTRIBUTES---
43 >
44 > //---STATIC ATTRIBUTES---
45 >
46 > }
47 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines