hlship 2003/08/01 11:26:02 Modified: hivemind/src/java/org/apache/commons/hivemind HiveMind.java Log: Add a static isInitialized() method to HiveMind, to check of the default registry has been set. Revision Changes Path 1.11 +9 -1 jakarta-commons-sandbox/hivemind/src/java/org/apache/commons/hivemind/HiveMind.java Index: HiveMind.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/src/java/org/apache/commons/hivemind/HiveMind.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- HiveMind.java 30 Jul 2003 22:34:53 -0000 1.10 +++ HiveMind.java 1 Aug 2003 18:26:02 -0000 1.11 @@ -136,6 +136,14 @@ return _registry; } + + /** + * Returns true if the shared registry is not null. + */ + public static boolean isInitialized() + { + return _registry != null; + } public static String getMessage(String key) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]