Return-Path: Delivered-To: apmail-jakarta-hivemind-cvs-archive@www.apache.org Received: (qmail 33602 invoked from network); 9 Aug 2004 01:10:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Aug 2004 01:10:42 -0000 Received: (qmail 94922 invoked by uid 500); 9 Aug 2004 01:10:42 -0000 Delivered-To: apmail-jakarta-hivemind-cvs-archive@jakarta.apache.org Received: (qmail 94898 invoked by uid 500); 9 Aug 2004 01:10:42 -0000 Mailing-List: contact hivemind-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-dev@jakarta.apache.org Delivered-To: mailing list hivemind-cvs@jakarta.apache.org Received: (qmail 94882 invoked by uid 99); 9 Aug 2004 01:10:42 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sun, 08 Aug 2004 18:10:38 -0700 Received: (qmail 33588 invoked by uid 1616); 9 Aug 2004 01:10:38 -0000 Date: 9 Aug 2004 01:10:38 -0000 Message-ID: <20040809011038.33587.qmail@minotaur.apache.org> From: hlship@apache.org To: jakarta-hivemind-cvs@apache.org Subject: cvs commit: jakarta-hivemind/examples build.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hlship 2004/08/08 18:10:38 Modified: examples/src/documentation/content/xdocs/hivemind-examples calc.xml panorama.xml examples/src/descriptor/META-INF examples.xml examples build.xml Log: More documentation updates re: removal of SDL. This should be the last such changes. Revision Changes Path 1.3 +26 -38 jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/calc.xml Index: calc.xml =================================================================== RCS file: /home/cvs/jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/calc.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- calc.xml 26 Jul 2004 19:07:11 -0000 1.2 +++ calc.xml 9 Aug 2004 01:10:37 -0000 1.3 @@ -98,44 +98,32 @@ The Registry is built from the following module deployment descriptor:

- + + + + + + + + + + + + + + + + + + + + + + + + +]]>

The service-point for the Calculator service is very simple ... as the comment 1.4 +51 -63 jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/panorama.xml Index: panorama.xml =================================================================== RCS file: /home/cvs/jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/panorama.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- panorama.xml 26 Jul 2004 19:07:11 -0000 1.3 +++ panorama.xml 9 Aug 2004 01:10:37 -0000 1.4 @@ -112,55 +112,51 @@

Special consideration was given to supporting legacy startup code in the tools and services; code that stays in the form of a public static method. As HiveMind is adopted, these static methods will go away, and be replaced -with either HiveMind services, or simple objects. +with either HiveMind services, or simple objects. In the very long term, much of this startup logic will become uncessary, +as more of the system will be implemented using HiveMind services, which will lazily initialize just as needed.

The schema definition (with desriptions removed, for compactness) follows:

- + + + + + + - conversion (class=com.panorama.startup.impl.Task) - } - - element (name=static-task) - { - attribute (name=title required=true) - attribute (name=id required=true) - attribute (name=before) - attribute (name=after) - attribute (name=class translator=class required=true) - attribute (name=method) + + + + + + + + + + - rules - { - create-object (class=com.panorama.startup.impl.Task) - invoke-parent (method=addElement) + + + - read-attribute (attribute=id property=id) - read-attribute (attribute=title property=title) - read-attribute (attribute=before property=before) - read-attribute (attribute=after property=after) + + + + - create-object (class=com.panorama.startup.impl.ExecuteStatic) - invoke-parent (method=setExecutable) + + - read-attribute (attribute=class property=targetClass) - read-attribute (attribute=method property=methodName) - } - } - } - -]]> + + + + +]]> For more details, see the HiveDoc for @@ -173,8 +169,7 @@

+]]>

The executable attribute is converted into an object or service; here the service: @@ -186,11 +181,8 @@

To support legacy code, a second option, static-task, is provided:

- +]]>

The static-task element duplicates the id, title, @@ -210,25 +202,21 @@ a Startup service that uses the configuration point.

- - + + + + + + + + + + + +]]> +

The hivemind.Startup configuration point is used to ensure that the Panorama Startup service is 1.2 +2 -0 jakarta-hivemind/examples/src/descriptor/META-INF/examples.xml Index: examples.xml =================================================================== RCS file: /home/cvs/jakarta-hivemind/examples/src/descriptor/META-INF/examples.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- examples.xml 3 Aug 2004 14:02:14 -0000 1.1 +++ examples.xml 9 Aug 2004 01:10:37 -0000 1.2 @@ -34,6 +34,8 @@ + + 1.6 +6 -0 jakarta-hivemind/examples/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-hivemind/examples/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 3 Aug 2004 14:02:18 -0000 1.5 +++ build.xml 9 Aug 2004 01:10:37 -0000 1.6 @@ -42,6 +42,12 @@ + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org