[Jukebox-cvs] CVS update: J4/src/java/gnu/j4/config Configurable.java Makefile.am
Brought to you by:
vtt
From: CVS B. <vt...@fr...> - 2000-09-13 00:02:46
|
User: vt Date: 00/09/12 17:02:35 Modified: src/java/gnu/j4/config Makefile.am Added: src/java/gnu/j4/config Configurable.java Log: Coming closer to changing the initialization model Revision Changes Path 1.10 +2 -1 J4/src/java/gnu/j4/config/Makefile.am CVSWEB Options: ------------------- CVSWeb: Annotate this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Makefile.am?annotate=1.10&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Makefile.am?rev=1.10&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/Makefile.am.diff?r1=1.10&r2=1.9&cvsroot=jukebox4 ----------------------------------- Index: Makefile.am =================================================================== RCS file: /usr/local/cvs/J4/src/java/gnu/j4/config/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile.am 2000/08/24 20:35:49 1.9 +++ Makefile.am 2000/09/13 00:02:35 1.10 @@ -1,6 +1,7 @@ -# $Id: Makefile.am,v 1.9 2000/08/24 20:35:49 vt Exp $ +# $Id: Makefile.am,v 1.10 2000/09/13 00:02:35 vt Exp $ BASE_FILES = ConfigReader.java \ + Configurable.java \ Configuration.java \ PropertiesReader.java 1.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.1&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/config/Configurable.java?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=jukebox4 ----------------------------------- Index: Configurable.java =================================================================== package gnu.j4.config; /** * General definition of a configurable object. * * <p> * * Generally speaking, there's one serious problem with the configuration * per se: the chicken and egg problem, or the bootstrap sequence. * * <p> * * For example, every configurable object has to be able to tell what * exactly part of the original configuration is responsible for its * configuration, and it is not easy to determine. Thus, in order to * * @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 $ */ public interface Configurable { /** * Configure the object. * * {@link #getConfigurationRoot getConfigurationRoot()} must not return * <code>null</code> at the time this method is called. * * @exception IllegalStateException if it turns out {@link * #getConfigurationRoot getConfigurationRoot()} did return null. We * cannot proceed without knowing where our configuration is. */ public void configure(Configuration conf); /** * Get the path to the root configuration element. * * @return Dot delimited string defining the way from the configuration * top to the configuration element defining the configuration for this * object. */ public String getConfigurationRoot(); } |