Thread: [CJ-dev] commonjava-projects/commonjava-config .project,1.2,1.3 .classpath,1.5,1.6 project.xml,1.3,1
Brought to you by:
johnqueso
From: <joh...@co...> - 2004-02-19 23:27:52
|
Update of /cvsroot/commonjava/commonjava-projects/commonjava-config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26482 Modified Files: .project .classpath project.xml Log Message: added new classes for managing snap-ins via JBoss service. Index: .project =================================================================== RCS file: /cvsroot/commonjava/commonjava-projects/commonjava-config/.project,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- .project 18 Feb 2004 06:11:01 -0000 1.2 +++ .project 19 Feb 2004 23:17:07 -0000 1.3 @@ -1,24 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> + <projectDescription> - <name>commonjava-config</name> - <comment> - </comment> - <projects> - <project>commonjava-codec</project> - <project>commonjava-io</project> - <project>commonjava-lang</project> - <project>commonjava-opl</project> - <project>commonjava-reflection</project> - <project>commonjava-util</project> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> + <name>commonjava-config</name> + <comment>The Configurations project is intended to provide various ways of configuring an application, beyond mere properties files. These methods are mainly based on XML configuration files, although one notable exception to this is the org.commonjava.config.Configuration class, which can have any number of format/parse codecs for it. XML and properties file format are supported natively. Beyond this, the next generation of configuration involves building and storing complex configuration objects, which can then be referenced by an application via a common configuration repository. These objects are called snap-ins, and are managed by the SnapInContainer/SnapInContainerLoader hierarchy, in org.commonjava.config.snapin. The snap-in package was originally intended to be coupled with OPL (another CommonJava project, for parsing XML into objects), but technically can be used with any object parser. The SnapInContainerLoader implementation may drive the parsing process, as in the case of GenericSnapInContainerLoader, but doesn't have to. The only requirement of the snap-in functionality is that it serve as a commonly-accessible repository for configuration objects, which are each keyed by a unique id String (usually the class name of the configuration object, to avoid namespacing issues). Then, the application can use SnapInContainerLoader.getSnapInContainer().getSnapIn(UID) to retrieve the configuration object it desires. Paired with the namespace-awareness of OPL, the snap-in framework can support and consolidate an incredible range of configuration information within easy reach of any application component. No more passing configuration objects as parameters to level after level of nested constructors. No more custom singletons serving configuration information in non-standard ways. No more x.getIntegerProperty("some.unique.key"), paired with management of the unique keys via constants class. This is better. Trust us.</comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> \ No newline at end of file Index: .classpath =================================================================== RCS file: /cvsroot/commonjava/commonjava-projects/commonjava-config/.classpath,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- .classpath 18 Feb 2004 06:11:01 -0000 1.5 +++ .classpath 19 Feb 2004 23:17:08 -0000 1.6 @@ -1,18 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/java"/> + <classpathentry kind="src" path="src/test"/> <classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/> + <classpathentry kind="var" path="MAVEN_REPO/commonjava/jars/commonjava-lang-2.0-1.jar"/> + <classpathentry kind="var" path="MAVEN_REPO/commonjava/jars/commonjava-opl-2.1-5.jar"/> + <classpathentry kind="var" path="MAVEN_REPO/commonjava/jars/commonjava-io-2.0.jar"/> + <classpathentry kind="var" + path="MAVEN_REPO/commonjava/jars/commonjava-reflection-2.0.jar" sourcepath="WORKSPACE/commonjava-reflection/src/java"/> + <classpathentry kind="var" path="MAVEN_REPO/commonjava/jars/commonjava-util-2.0-3.jar"/> <classpathentry kind="var" path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.2.jar"/> - <classpathentry kind="var" path="MAVEN_REPO/jboss/jars/jboss-system-3.2.3.jar"/> - <classpathentry kind="var" path="MAVEN_REPO/jboss/jars/jnp-client-3.2.3.jar"/> - <classpathentry kind="var" path="MAVEN_REPO/jboss/jars/jboss-jmx-3.2.3.jar"/> - <classpathentry kind="var" path="MAVEN_REPO/jboss/jars/jboss-common-3.2.3.jar"/> - <classpathentry kind="var" path="MAVEN_REPO/jboss/jars/jboss-3.2.3.jar"/> - <classpathentry kind="src" path="/commonjava-util"/> - <classpathentry kind="src" path="/commonjava-reflection"/> - <classpathentry kind="src" path="/commonjava-opl"/> - <classpathentry kind="src" path="/commonjava-lang"/> - <classpathentry kind="src" path="/commonjava-io"/> - <classpathentry kind="src" path="/commonjava-codec"/> + <classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"/> <classpathentry kind="output" path="target/classes"/> </classpath> Index: project.xml =================================================================== RCS file: /cvsroot/commonjava/commonjava-projects/commonjava-config/project.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- project.xml 18 Feb 2004 06:11:01 -0000 1.3 +++ project.xml 19 Feb 2004 23:17:08 -0000 1.4 @@ -41,14 +41,14 @@ <dependency> <groupId>commonjava</groupId> <artifactId>commonjava-lang</artifactId> - <version>2.0</version> + <version>2.0-1</version> <url>http://www.commonjava.org</url> </dependency> <dependency> <groupId>commonjava</groupId> <artifactId>commonjava-opl</artifactId> - <version>2.1-4</version> + <version>2.1-5</version> <url>http://www.commonjava.org</url> </dependency> @@ -69,7 +69,7 @@ <dependency> <groupId>commonjava</groupId> <artifactId>commonjava-util</artifactId> - <version>2.0-2</version> + <version>2.0-3</version> <url>http://www.commonjava.org</url> </dependency> |