| # | Line 76 | Line 76 | public class Core implements Component { | |
|---|---|---|
| 76 | } | |
| 77 | ||
| 78 | /** | |
| 79 | + | * Does a dependency check. Used mainly at startup to |
| 80 | + | * see if the required dependencies (components) are up |
| 81 | + | * and running. |
| 82 | + | * |
| 83 | + | * @return a boolean value, true if the depdencies are satisfied |
| 84 | + | */ |
| 85 | + | public boolean depCheck() { |
| 86 | + | // the core has no depedencies |
| 87 | + | return true; |
| 88 | + | } |
| 89 | + | |
| 90 | + | /** |
| 91 | * Overrides the {@link java.lang.Object#toString() Object.toString()} | |
| 92 | * method to provide clean logging (every class should have this). | |
| 93 | * | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |