[Jukebox-cvs] CVS update: J4/src/java/gnu/j4/config Configurable.java
Brought to you by:
vtt
From: CVS B. <vt...@fr...> - 2000-09-13 19:24:19
|
User: vt Date: 00/09/13 12:24:07 Modified: src/java/gnu/j4/config Configurable.java Log: Oops, this belongs to the previous commit. Revision Changes Path 1.2 +15 -1 J4/src/java/gnu/j4/config/Configurable.java CVSWEB Options: ------------------- CVSWeb: Annotate this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Configurable.java?annotate=1.2&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Configurable.java?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=jukebox4 CVSWeb: Diff to previous version: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Configurable.java.diff?r1=1.2&r2=1.1&cvsroot=jukebox4 ----------------------------------- Index: Configurable.java =================================================================== RCS file: /usr/local/cvs/J4/src/java/gnu/j4/config/Configurable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Configurable.java 2000/09/13 00:02:35 1.1 +++ Configurable.java 2000/09/13 19:24:07 1.2 @@ -16,7 +16,7 @@ * * @author Copyright © <a href="mailto:vt...@fr...">Vadim Tkachenko</a> 1998-2000 * - * @version $Id: Configurable.java,v 1.1 2000/09/13 00:02:35 vt Exp $ + * @version $Id: Configurable.java,v 1.2 2000/09/13 19:24:07 vt Exp $ */ public interface Configurable { @@ -29,8 +29,22 @@ * @exception IllegalStateException if it turns out {@link * #getConfigurationRoot getConfigurationRoot()} did return null. We * cannot proceed without knowing where our configuration is. + * + * @exception IllegalArgumentException if the configuration values are + * unusable. */ public void configure(Configuration conf); + + /** + * Set the path to the root configuration element. + * + * @param configurationRoot Dot delimited string defining the way from + * the configuration top to the configuration element defining the + * configuration for this object. + * + * @exception IllegalStateException must be thrown if the configuration root has already been set. + */ + public void setConfigurationRoot(String configurationRoot); /** * Get the path to the root configuration element. |