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.2 by ajm, Tue Dec 12 18:24:23 2000 UTC vs.
Revision 1.4 by tdb, Wed Mar 14 01:34:25 2001 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.ac.ukc.iscream.util;
2 > package uk.ac.ukc.iscream.componentmanager;
3  
4   //---IMPORTS---
5  
# Line 25 | Line 25 | public interface Component {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines