cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind HiveMindMessages.properties

2004-03-01 Thread hlship
hlship  2004/03/01 14:56:27

  Modified:hivemind/xdocs descriptor.xml case1.xml
   hivemind/framework/src/test/hivemind/test/config
TestConversion.java
   hivemind/framework/src/java/org/apache/hivemind/parse
ConversionDescriptor.java DescriptorParser.java
   hivemind/framework/src/java/org/apache/hivemind/schema/rules
CreateObjectRule.java
   hivemind/framework/src/java/org/apache/hivemind
HiveMindMessages.properties
  Added:   hivemind/framework/src/test/hivemind/test/config
DuplicateAttribute.xml ComplexAttributeName.xml
ConversionParentMethod.xml ComplexNameItem.java
  Log:
  Rename parentMethod attribute of  to parent-method.

  Add tests for parent-method and a few other code coverage gaps.

  Mangle attribute names with dashes into equivalent property names (i.e., 
"complex-name" to "complexName").

  
  Revision  ChangesPath
  1.31  +12 -3 jakarta-commons-sandbox/hivemind/xdocs/descriptor.xml
  
  Index: descriptor.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/descriptor.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- descriptor.xml1 Mar 2004 01:08:02 -   1.30
  +++ descriptor.xml1 Mar 2004 22:56:27 -   1.31
  @@ -179,7 +179,7 @@



  - parentMethod
  + parent-method
string
no
The name of a method of the parent object 
used to add the created object
  @@ -192,6 +192,13 @@
Contains: ↦


  + 
  + Each attribute will be mapped to a property. A limited amount of name 
mangling occurs: if the attribute name
  + contains dashes, they are removed, and the character following is 
converted to upper case.  So,
  + an attribute named "complex-attribute-name" would be mapped to a 
property named "complexAttributeName". Only
  + attributes identified with a &attribute; element will be mapped, 
others will be ignored.
  + 
  + 



  @@ -394,7 +401,9 @@

The corresponding property (of the Java object 
specified by the
enclosing &conversion;). If not specified, the 
property name
  - will match the attribute name.
  + will be based upon the attribute name (with 
the same
  + mangling described in the description of
  + &conversion;).

   

  
  
  
  1.13  +12 -23jakarta-commons-sandbox/hivemind/xdocs/case1.xml
  
  Index: case1.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/case1.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- case1.xml 26 Feb 2004 23:07:34 -  1.12
  +++ case1.xml 1 Mar 2004 22:56:27 -   1.13
  @@ -123,19 +123,12 @@
 Id of a service that implements the Executable interface.  
   
   
  -
  -  
  -  
  -  
  -  
  -  
  -  
  -
  +
  +
  +  
  +  
  +
  +
   
 Used to invoke a public static method of a
   class.
  @@ -146,15 +139,11 @@
   Name of method to invoke; default is
 "init".
 
  -  
  -
  -
  -
  -
  -  
  +  
  +  
  +
  +
  +  
   
 
   
  
  
  
  1.2   +62 -1 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/TestConversion.java
  
  Index: TestConversion.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/TestConversion.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestConversion.java   1 Mar 2004 01:08:02

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF hivemodule.xml

2004-03-01 Thread hlship
hlship  2004/03/01 11:38:56

  Modified:hivemind/framework/src/descriptor/META-INF hivemodule.xml
  Log:
  Add  and  elements to the module deployment descriptor, as a 
simpler alternative to the existing  element.
  
  Revision  ChangesPath
  1.9   +5 -8  
jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml
  
  Index: hivemodule.xml
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- hivemodule.xml1 Mar 2004 01:08:02 -   1.8
  +++ hivemodule.xml1 Mar 2004 19:38:56 -   1.9
  @@ -42,13 +42,10 @@
Service configuration id for a 
service which implements the SymbolSource interface.  


  - 
  - 
  - 
  - 
  - 
  - 
  - 
  + 
  + 
  + 
  + 

  

  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind HiveMindMessages.properties

2004-02-29 Thread hlship
hlship  2004/02/29 17:08:03

  Modified:hivemind/framework/src/test/hivemind/test/config
TestConfigurationPoint.java
   hivemind/xdocs descriptor.xml rules.xml
   hivemind/framework/src/java/org/apache/hivemind/schema/rules
InvokeParentRule.java SetParentRule.java
ReadAttributeRule.java
   hivemind/framework/src/test/hivemind/test/rules
TestObjectTranslator.java
   hivemind/framework/src/descriptor/META-INF hivemodule.xml
   hivemind/common links.xml
   hivemind/src/xsl hivemind.xsl
   hivemind/library/src/descriptor/META-INF hivemodule.xml
   hivemind/framework/src/java/org/apache/hivemind
HiveMindMessages.properties
  Added:   hivemind/framework/src/test/hivemind/test/config Basics.xml
ExtraAttributeNames.xml DataItem.java
TestConversion.java Basics2.xml
   hivemind/framework/src/java/org/apache/hivemind/parse
ConversionDescriptor.java
AttributeMappingDescriptor.java
  Log:
  Add  and  elements to the module deployment descriptor, as a 
simpler alternative to the existing  element.
  
  Revision  ChangesPath
  1.9   +2 -3  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/TestConfigurationPoint.java
  
  Index: TestConfigurationPoint.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/TestConfigurationPoint.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestConfigurationPoint.java   29 Feb 2004 20:57:09 -  1.8
  +++ TestConfigurationPoint.java   1 Mar 2004 01:08:02 -   1.9
  @@ -27,7 +27,6 @@
   import java.util.List;
   import java.util.Locale;
   
  -import org.apache.hivemind.util.ClasspathResource;
   import org.apache.hivemind.ApplicationRuntimeException;
   import org.apache.hivemind.Element;
   import org.apache.hivemind.Module;
  @@ -35,7 +34,7 @@
   import org.apache.hivemind.Resource;
   import org.apache.hivemind.impl.RegistryBuilder;
   import org.apache.hivemind.impl.SchemaProcessorImpl;
  -import org.apache.hivemind.schema.rules.ResourceTranslator;
  +import org.apache.hivemind.util.ClasspathResource;
   
   /**
* A number of tests related to processing of extension points.
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/Basics.xml
  
  Index: Basics.xml
  ===
  
  
  
  

  
  


  
  

  
  
   
  

  
   



 

  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/ExtraAttributeNames.xml
  
  Index: ExtraAttributeNames.xml
  ===
  
  
  
  

  
  


  
  

  
  

  

  
   



  
 

  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config/DataItem.java
  
  Index: DataItem.java
  ===
  //  Copyright 2004 The Apache Software Foundation
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  // http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  
  package hivemind.test.config;
  
  import org.apache.hivemind.ServiceImplementationFactory;
  import org.apache.hivemind.impl.BaseLocatable;
  
  
  /**
   * Data object used by [EMAIL PROTECTED] hivemind.test.c

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/impl - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/impl - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:34

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/support - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/support - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/servlet - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/servlet - 
New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/ant - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/ant - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema/impl - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema/impl 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind/lib - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind/lib - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/impl - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/impl - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/parse - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/parse - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/test - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/test - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/service - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/service - 
New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema/rules - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/schema/rules 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/service/impl - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/service/impl 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind/lib/impl - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind/lib/impl - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/hivemind - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/util - New directory

2004-02-26 Thread hlship
hlship  2004/02/26 15:06:35

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/hivemind/util - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [hivemind] Caching interceptor

2003-11-07 Thread hlship
I think a single "contrib" module, to contain optional/experimental stuff.


--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> Thanks, I shall try it and let you know.
> 
> -Harish
> 
> Johan Lindquist wrote:
> 
> > See attached zip for source ... it includes a 
> > service-point-caching-interceptor.xml snippet which I currently add to 
> > the core hivemind descriptor.  I guess this would be in it's own jar, 
> > but at this moment it's the way it is :)  Unzip it into the hivemind 
> > tree, edit the descriptor (simply pasting in the snippet should be 
> > enough) and rebuild hivemind.
> > 
> > To add the interceptor (in this case to the add method of the example 
> > Adder service) add the following xml to a module.  The debug messages 
> > should only be printed once (before/after the first call).
> > 
> > 
> >   
> >   
> > 
> >   
> > int

> > int
> >   
> > 
> >   
> > 
> > 
> > One flaw that I just realised is that I rely on the toString() (which 
> > itself may not be the most efficient) method of the parameters for 
> > generating the cache key - this should probably rely on something else 
> > when it comes to objects that are not primitives or wrappers of 
> > primitives ... Perhaps use the hashCode of the parameter?
> > 
> > Anyway, let us know how you get along ...
> > 
> > Howard, to you forsee the contrib/experimental code to be packaged in 
> > individual jars (a la xdoclet) or more of an ant style approach with an 
> > optional package?
> > 
> > Thanks,
> > 
> > Johan
> > 
> > On Fri, 07 Nov 2003 11:08:55 -0500, Harish Krishnaswamy 
> > <[EMAIL PROTECTED]> wrote:
> > 
> >> I will be very interested in such an interceptor. May be I can follow 
> >> the path and create a notification interceptors for events (that I 

> >> have been wanting to do for a while now). Can you post the code in a zip?
> >>
> >> Howard, any idea when the proposal will be ready? I suppose that's 
> >> what is holding up the CVS?
> >>
> >> Thanks,
> >> Harish
> >>
> >> [EMAIL PROTECTED] wrote:
> >>
> >>> I'd consider that "experimental". It's a nifty idea, but I think it 
> >>> belongs in the contrib project (to be created, after the current 
> >>> HiveMind mess is cleaned up).
> >>>
> >>> -- 
> >>> [EMAIL PROTECTED]
> >>>
> >>> Creator, Tapestry: Java Web Components
> >>> http://jakarta.apache.org/tapestry
> >>>
>  Realise the CVS rep. is off-line, but i have a caching interceptor 
>  allowing caching of method invocation results (configurable down to 
>  a per method level) for a specified amount of time ready for 
>  review/comments/contribution.
> 
>  Shall i hold off for a bit while the current issues are being 
>  resolved or would you like to have the code now?
> 
>  A related question - should any interceptor code be part of the 

>  ...service.impl package or is there any other package scheme we 
>  should follow?  Perhaps a ...interceptor.contrib or similar?
> 
>  Cheers,
> 
>  Johan
> 
>  -- you too?
> 
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
> 
> >>>
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> > 
> > 
> > 
> > 
> > 
> > 

> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [hivemind] Caching interceptor

2003-11-07 Thread hlship
I'd consider that "experimental". It's a nifty idea, but I think it belongs in the 
contrib project (to be created, after the current HiveMind mess is cleaned up).

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> Realise the CVS rep. is off-line, but i have a caching interceptor 
> allowing caching of method invocation results (configurable down to a per 
> method level) for a specified amount of time ready for 
> review/comments/contribution.
> 
> Shall i hold off for a bit while the current issues are being resolved or 
> would you like to have the code now?
> 
> A related question - should any interceptor code be part of the 
> ...service.impl package or is there any other package scheme we should 
> follow?  Perhaps a ...interceptor.contrib or similar?
> 
> Cheers,
> 
> Johan
> 
> -- 
> you too?
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN][hivemind] hivemind has been temporarily taken offline

2003-11-07 Thread hlship
As lead developer of Tapestry, I'm a PMC member ... somehow, I missed the existence of 
this list in the past.  I just subscribed.

My previous posting on this matter was

http://www.mail-archive.com/[EMAIL PROTECTED]/msg08364.html

on Oct. 16th.

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> The pmc mailing list is [EMAIL PROTECTED]  I believe it is closed to
> pmc mebmers only.  Like robert suggests, [EMAIL PROTECTED] might be a good
> place for general pmc discusion.
> 
> On Fri, 7 Nov 2003, Harish Krishnaswamy wrote:
> 
> > Yeah where is the pmc mailing list? I was looking for it too, to see what's 
> going on. Is it only for
> > the pmc?
> >
> > -Harish
> >
> > Howard M. Lewis Ship wrote:
> >
> > > Beet me to the punch; I was just looking for the Jakarta PMC mailing list, 
> since my previous posting
> > > (to the Jakarta General list) got no response.
> > >
> > > Taking HiveMind offline is drastic, but may be the best course forward.  I 
> need to see what the
> > > delay is at WebCT.
> > >
> > > --
> > > Howard M. Lewis Ship
> > > Creator, Tapestry: Java Web Components
> > > http://jakarta.apache.org/tapestry
> > > http://jakarta.apache.org/commons/sandbox/hivemind/
> > > http://javatapestry.blogspot.com
> > >
> > >
> > >>-Original Message-
> > >>From: robert burrell donkin [mailto:[EMAIL PROTECTED]
> > >>Sent: Friday, November 07, 2003 2:27 AM
> > >>To: Jakarta Commons Developers
> > >>Cc: [EMAIL PROTECTED]
> > >>Subject: [ANN][hivemind] hivemind has been temporarily taken offline
> > >>
> > >>
> > >>the jakarta-pmc have decided to take the hivemind directories
> > >>offline for
> > >>a temporary period. this decision was taken in order to
> > >>protect every body
> > >>involved from legal action. this is not a judgement of the
> > >>legal rights
> > >>and wrongs of the situation nor should it be construed as an
> > >>admission of
> > >>guilt.
> > >>
> > >>i'd like to thank howard for drawing these possible issues to our
> > >>attention and hope that he continues to work with the pmc to help us
> > >>resolve the issues as quickly as possible.
> > >>
> > >>the [EMAIL PROTECTED] mailing list is probably the
> > >>best forum for
> > >>future discussions of this action or the pmc can be mailed directly.
> > >>
> > >>thanks for your understanding.
> > >>
> > >>- robert
> > >>
> > >>
> > >>-
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -- 
> - Rod 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Company Acknowledgements [was :Re: [HiveMind] 1.0 Beta]

2003-11-03 Thread hlship
There was an even earlier post, to Jakarta General, concerning this question of IP.  I 
maintain, due to the volume of code and concepts that were copied out of (or adapted 
out of) Tapestry that WebCT would not win any kind of legal challenge to the ownership 
of the IP ... but it would be murky, based on my employment with them overlapping the 
development. The point is, by making them happy, the IP, ownership, copyright, etc., 
will be clearly owned by the ASF which is in the best interests of myself, the 
HiveMind project, the ASF and WebCT.

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> > I've been trading drafts of the proposal and I think they are
> > on the right track. I suspect we'll be going forward soon --
> > possibly today.
> 
> I can't find in the archives where you've made the Jakarta PMC or the ASF
> Board aware of this specific incident.  When IP ownership issues arise on a
> project, as you made this project aware on October 22
> (http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
> che.org&msgId=1096118), it seems to me that either the PMC and/or the Board
> ought to be directly brought into the loop.  As you said, "fortunately,
> nobody's out to cause trouble", but it could easily have gone the other way
> (and it isn't resolved, yet).
> 
> Robert Leland made the same comment to you on October 27th, about receiving
> some guidance from the Foundation.  Corporate software grants, such as the
> one with BEA for XMLBeans, are certainly do-able.  But for a PMC and the
> Board to ensure proper oversight within a TLP and across the ASF,

> respectively, they need to be made aware of when problems such as this one
> arise.
> 
>   --- Noel
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [HiveMind] 1.0 Beta

2003-10-27 Thread hlship
The worst thing I expect to happen is to rename the base package from 
org.apache.commons.hivemind to org.apache.hivemind.  If you can deal with that, I 
would go ahead.  Viva HiveMind!

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> Should we hold of on using it?
> 
> I will wait a few days.
> 
> [EMAIL PROTECTED] wrote:
> 
> > 
> > WebCT will be getting back to me soon to finalize the wording for promotion (I 
> developed HiveMind partially on their time, so they have a say -- they want to 
> ensure they get proper credit).
> > 
> > 
> 
> -- 
> Victor Cekvenich,
> Struts Instructor
> (215) 321-9146
> 
> Advanced Struts Training
>  Server Side Java
> training with Rich UI, mentoring, designs, samples and project recovery
> in North East.
> Simple best practice basic Portal, a Struts CMS, Membership, Forums,
> Shopping and Credit processing,  software, ready
> to develop/customize; requires a db to run.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [HiveMind] 1.0 Beta

2003-10-27 Thread hlship
Once it goes beta, I'll start monitoring the user list as well as the developer list.

Unless beta coincides with promotion to top level, in which case there will be a 
hivemind-user and hivemind-dev lists.

WebCT will be getting back to me soon to finalize the wording for promotion (I 
developed HiveMind partially on their time, so they have a say -- they want to ensure 
they get proper credit).

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> FYI, I will be converting basicPortal.com to use HiveMind. Soon move it 
> to the commons user list?
> .V
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> > I believe we'll be getting to beta soon. Also, a proposal to promote HiveMind 
> up to Jakarta top level will be coming soon.
> > 
> > The alpha-3 version, available for download (see the home page) is very close 
> to what the beta will be.
> > 
> > There is some discussion about what features the beta will have that the 
> alpha-3 does not.  My opinion is they will be very close. Others want to build 
> in some more complex dependency features. I want to keep HiveMind minimal and 
> simple, providing just the what's absolutely necessary (in the framework), and 
> what 90+% of users will generally need beyond that (in the library). A contrib 
> (contributions) library may be added to hold ideas in progress. 
> > 
> > --
> > [EMAIL PROTECTED]
> > 
> > Creator, Tapestry: Java Web 
> > Components
> > http://jakarta.apache.org/tapestry
> > 
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > 
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -- 
> Victor Cekvenich,
> Struts Instructor
> (215) 321-9146
> 
> Advanced Struts Training
>  Server Side Java
> training with Rich UI, mentoring, designs, samples and project recovery
> in North East.
> Simple best practice basic Portal, a Struts CMS, Membership, Forums,
> Shopping and Credit processing,  software, ready
> to develop/customize; requires a db to run.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [HiveMind] 1.0 Beta

2003-10-27 Thread hlship
I believe we'll be getting to beta soon. Also, a proposal to promote HiveMind up to 
Jakarta top level will be coming soon.

The alpha-3 version, available for download (see the home page) is very close to what 
the beta will be.

There is some discussion about what features the beta will have that the alpha-3 does 
not.  My opinion is they will be very close. Others want to build in some more complex 
dependency features. I want to keep HiveMind minimal and simple, providing just the 
what's absolutely necessary (in the framework), and what 90+% of users will generally 
need beyond that (in the library). A contrib (contributions) library may be added to 
hold ideas in progress. 

--
[EMAIL PROTECTED]

Creator, Tapestry: Java Web 
Components
http://jakarta.apache.org/tapestry
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind project.properties maven.xml

2003-10-23 Thread hlship
hlship  2003/10/23 12:28:35

  Modified:hivemind/xdocs index.xml ioc.xml
   hivemind project.properties maven.xml
  Log:
  Add new support for build the distributions and installing them to the temporary 
distribution directory.
  
  Revision  ChangesPath
  1.19  +7 -6  jakarta-commons-sandbox/hivemind/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/index.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- index.xml 21 Oct 2003 15:14:29 -  1.18
  +++ index.xml 23 Oct 2003 19:28:35 -  1.19
  @@ -56,8 +56,10 @@



  - The project has been reorganized as a Maven multiproject; expect a few 
teething pains -- especially
  - in terms of pre-packaged distributions.  Just download Maven 1.0-rc-1 and 
build it yourself! 
  + The project has been reorganized as a   
  + http://maven.apache.org";>Maven 
  + multiproject; expect a few teething pains -- especially
  + in terms of pre-packaged distributions.  Use Maven to build it yourself! 
Currently there are two sub-projects; for the framework proper, and for the 
standard library.
A third sub-project, for contributed code and services, will be created soon.

  @@ -70,9 +72,8 @@



  - As an early adopter, you should be ready to download and install 
  - http://maven.apache.org";>Maven, and get
  - the HiveMind source via anonymous CVS.  
  + As an early adopter, you should be ready to build the latest snapshot of Maven 
and 
  + use that to build the HiveMind source. We'll try to keep the pre-built 
distributions up-to date.



  
  
  
  1.18  +6 -5  jakarta-commons-sandbox/hivemind/xdocs/ioc.xml
  
  Index: ioc.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/ioc.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ioc.xml   21 Oct 2003 15:14:29 -  1.17
  +++ ioc.xml   23 Oct 2003 19:28:35 -  1.18
  @@ -35,22 +35,23 @@
   

type-1 
  - Services are provided with an object from which they can look up 
dependencies (other services). This 
  + Services need to implement a dedicated interface through which 
they are provided with
  + an object from which they can look up dependencies (other 
services). This 
is the pattern used by Avalon.
   

type-2 

  - Dependent services are assigned via JavaBeans properties.
  + Services dependent upon are assigned via JavaBeans properties 
(setter methods).
The http://www.springframework.org/";>Spring   
  framework uses this approach.



type-3 

  - Dependent services are provided using a constructor and are 
not exposed as JavaBeans properties.
  + Services dependent upon are provided as constructor parameters 
and are not exposed as JavaBeans properties.
This is favored by
  - http://www.springframework.org/";>Picocontainer.
  + http://www.picocontainer.org/";>PicoContainer.


   
  
  
  
  1.6   +11 -2 jakarta-commons-sandbox/hivemind/project.properties
  
  Index: project.properties
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/project.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- project.properties20 Sep 2003 12:48:19 -  1.5
  +++ project.properties23 Oct 2003 19:28:35 -  1.6
  @@ -6,4 +6,13 @@
   maven.jar.index=true
   
   maven.multiproject.aggregateDir=
  -maven.xdoc.version=${pom.currentVersion}
  \ No newline at end of file
  +maven.xdoc.version=${pom.currentVersion}
  +
  +# The SCP qualified directory for distributions
  +# You must use ssh-agent to start a shell, and ssh-add to authenticate
  +# before executing the dist-release or dist-release-all Maven targets.
  +
  +hivemind.dist.user=hlship
  +hivemind.dist.host=jakarta.apache.org
  +hivemind.dist.dir=public_html/hivemind
  +
  
  
  
  1.11  +33 -1 jakarta-commons-sandbox/hivemind/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/maven.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- maven.xml 9 Oct 2003 22:58:16

cvs commit: jakarta-commons-sandbox/hivemind/xdocs index.xml ioc.xml filter.xml

2003-10-21 Thread hlship
hlship  2003/10/21 08:14:29

  Modified:hivemind/xdocs index.xml ioc.xml filter.xml
  Log:
  More documentation improvements.  Ready, Knut?
  
  Revision  ChangesPath
  1.18  +78 -91jakarta-commons-sandbox/hivemind/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/index.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- index.xml 29 Sep 2003 16:16:35 -  1.17
  +++ index.xml 21 Oct 2003 15:14:29 -  1.18
  @@ -13,66 +13,38 @@
   
 

  - 
  + 


  - The purpose of HiveMind is to impose a little bit of order onto applications 
of all types: anything 
  - from standalone applications all the way to enterprise applications deployed 
as EARs 
  - inside an application server.   
  - 
  - 
  - 
  - HiveMind allows you to create a data-driven, service-oriented architecture. A 
HiveMind
  - application is broken up into small, individually testable services (which are 
primarily
  - stateless singleton objects). The HiveMind framework is responsible for 
  - creating each service just as it is needed. You get the benefits of a service 
oriented architecture
  - without the complexity of J2EE stateless session beans. 
  -  HiveMind allows you to break apart your application into tiny,
  - easily tested (and easily reused) 
  - services, and create the full application simply by combining and configuring
  - the services. 
  - 
  - 
  - 
  - The service architecture is complemented by a configuration framework which 
allow many
  - independent modules to work together to define the configuration data used by 
services. 
  - 
  -  
  - 
  - Using HiveMind means writing less code; code that you would ordinarily write
  - for reading configuration files ... gone.  Code for managing singleton service 
objects ... gone.
  - The use of interceptors means that much repetetive coding 
also dissappears.  
  - For example, you can have a service automatically 
  - log method entry and exit using
  - an interceptor  rather 
than in your own code.
  + HiveMind is a services and configuration microkernel. HiveMind allows 
you to create
  + your application using a service oriented architecture.



  - In addition, a key HiveMind concept is plugability: a clean
  - separation of interface and implementation is enforced.  All code inside 
HiveMind
  - must code against interfaces, because the implementations are dynamically
  - located or even dynamically assembled.
  + In HiveMind, a service is an implementation of a 
Java interface.  Unlike other SOAs (such
  + as a SOAP, or EJBs), HiveMind is explicitly about combining Java code within a 
single JVM. HiveMind
  + uses an XML descriptor to describe different 
services, their lifecycles, and how they
  + are combined. HiveMind takes care of thread-safe, just-in-time creation of 
singleton service objects
  + so your code doesn't have to.




  - HiveMind is exhaustively tested and focused entirely on developer productivity.
  - HiveMind uses line precise error reporting: this means that when 
errors occur,
  - even runtime errors long after module deployment descriptors have been parsed, 
HiveMind will report the 
  - exact location of the source of an error (simply put, each runtime object is 
"tagged" with
  - the location - file and line - of the XML element it was created from).  This 
means that the
  - vast majority of common errors not only report themselves consistently but 
even tell you
  - where to make the fix!
  + HiveMind provides powerful tools for configuring 
  + services in a decentralized manner; configuration data can be spread across 
many
  + HiveMind modules. HiveMind configurations allow for powerful, data-driven 
solutions which
  + combine seemlessly with the service architecture.

  - 
  + 

  - In summary, HiveMind is a tightly written, highly dynamic 
microkernel based
  - on proven open-source technologies.  It is a superior way to architect an 
application,
  - one that supports very aggresive refactoring and a very fine granulatity to 
your solution.
  + HiveMind allows you to create more complex applications, yet keep the 
individual pieces (individual services) simple
  + and testable. It offloads all the work of instantiating services, configuring 
them, and connecting
  + them together. It lets you concentrate on best practices: coding to 
interfaces, not implementations and 
  + designing your code to be eas

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl ShutdownCoordinator.java

2003-10-21 Thread hlship
hlship  2003/10/21 08:14:12

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/impl
ShutdownCoordinator.java
  Log:
  Remove unnecessary synchronization in ShutdownCoordinator.
  
  Revision  ChangesPath
  1.3   +4 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ShutdownCoordinator.java
  
  Index: ShutdownCoordinator.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ShutdownCoordinator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ShutdownCoordinator.java  12 Oct 2003 10:13:52 -  1.2
  +++ ShutdownCoordinator.java  21 Oct 2003 15:14:11 -  1.3
  @@ -86,7 +86,7 @@
   _listenerList.addListener(s);
   }
   
  -public synchronized void shutdown()
  +public void shutdown()
   {
   if (_listenerList == null)
   return;
  @@ -101,6 +101,8 @@
   
   shutdown(s);
   }
  +
  + _listenerList = null;
   }
   
   private void shutdown(RegistryShutdownListener s)
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/ant TestManifestClassPath.java

2003-10-21 Thread hlship
hlship  2003/10/21 08:13:46

  Modified:hivemind/framework/src/test/hivemind/test/ant
TestManifestClassPath.java
  Log:
  Fix bug in ManifestClassPath when the directory was also an entry on the classpath.
  
  Revision  ChangesPath
  1.4   +32 -3 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/ant/TestManifestClassPath.java
  
  Index: TestManifestClassPath.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/ant/TestManifestClassPath.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestManifestClassPath.java12 Oct 2003 09:54:35 -  1.3
  +++ TestManifestClassPath.java21 Oct 2003 15:13:46 -  1.4
  @@ -153,6 +153,31 @@
   _project.getProperty("output"));
   }
   
  +public void testDirectoryInClasspath() throws Exception
  +{
  +ManifestClassPath mcp = create();
  +
  +mcp.setProperty("output");
  +
  +File dir = new File("src").getAbsoluteFile();
  +
  +mcp.setDirectory(dir);
  +
  +Path path = mcp.createClasspath();
  +
  +Path.PathElement pe = path.createPathElement();
  +
  +pe.setLocation(dir);
  +
  +pe = path.createPathElement();
  +
  +pe.setLocation(new File("src/META-INF/hivemodule.xml"));
  +
  +mcp.execute();
  +
  +assertEquals("META-INF/hivemodule.xml", _project.getProperty("output"));
  +}
  +
   public void testEmpty() throws Exception
   {
   ManifestClassPath mcp = create();
  @@ -183,7 +208,9 @@
   }
   catch (BuildException ex)
   {
  -assertExceptionSubstring(ex, "You must specify a property to assign the 
manifest classpath to");
  +assertExceptionSubstring(
  +ex,
  +"You must specify a property to assign the manifest classpath to");
   }
   
   }
  @@ -202,7 +229,9 @@
   }
   catch (BuildException ex)
   {
  -assertExceptionSubstring(ex, "You must specify a classpath to generate 
the manifest entry from");
  +assertExceptionSubstring(
  +ex,
  +"You must specify a classpath to generate the manifest entry from");
   }
   
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ant ManifestClassPath.java

2003-10-21 Thread hlship
hlship  2003/10/21 08:13:38

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/ant
ManifestClassPath.java
  Log:
  Fix bug in ManifestClassPath when the directory was also an entry on the classpath.
  
  Revision  ChangesPath
  1.3   +8 -1  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ant/ManifestClassPath.java
  
  Index: ManifestClassPath.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ant/ManifestClassPath.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ManifestClassPath.java12 Oct 2003 10:13:52 -  1.2
  +++ ManifestClassPath.java21 Oct 2003 15:13:38 -  1.3
  @@ -129,6 +129,13 @@
   if (!path.startsWith(stripPrefix))
   continue;
   
  + // Sometimes, people put the prefix directory in as a
  + // classpath entry; we ignore it (otherwise
  + // we get a IndexOutOfBoundsException
  + 
  + if (path.length() == stripPrefix.length())
  + continue;
  +
   if (needSep)
   buffer.append(' ');
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind build.xml

2003-10-16 Thread hlship
hlship  2003/10/16 15:32:40

  Removed: hivemind build.xml
  Log:
  Remove accidental build.xml.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/servlet - New directory

2003-10-16 Thread hlship
hlship  2003/10/16 15:30:25

  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/servlet
 - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/servlet - New directory

2003-10-16 Thread hlship
hlship  2003/10/16 15:30:26

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/servlet - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/xdocs configurations.xml rules.xml

2003-10-15 Thread hlship
hlship  2003/10/15 08:48:44

  Modified:hivemind/xdocs configurations.xml rules.xml
  Log:
  Commit Knut's documentation patch.
  
  Revision  ChangesPath
  1.5   +11 -5 jakarta-commons-sandbox/hivemind/xdocs/configurations.xml
  
  Index: configurations.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/configurations.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- configurations.xml9 Oct 2003 22:58:16 -   1.4
  +++ configurations.xml15 Oct 2003 15:48:44 -  1.5
  @@ -232,7 +232,7 @@

   
   This example contributes two elements to the com.myco.MyConfig   
  -configuration point. In the second contribution, the content contains substitution 
variables (which use
  +configuration point. In the second contribution, the content contains substitution 
symbols (which use
   a syntax derived from the http://ant.apache.org/";>Ant build tool).  
Symbol
   substitution occurs before &schema; rules are executed, so the 
config.dir
   and config.file symbols will be converted to strings first, then 
whatever rules
  @@ -244,11 +244,16 @@
   
   This begs the question: where do symbol values come from?The answser is 
application dependent.
   HiveMind itself defines a configuration configuration point for this purpose: 
  -hivemind.SymbolSource.
  Contributions to this configuration point define
  -new objects that can provide values for symbols, and identify the order in which
  -these objects should be consulted.
  +hivemind.SymbolSource.
  +Contributions to this configuration point define new objects that can provide 
values for symbols,
  +and identify the order in which these objects should be consulted.
   
   
  +
  +If at runtime none of the configured SymbolSources provides a value for a given 
symbol then
  +HiveMind will leave the reference to that symbol as is, including the 
surrounding
  +${ and }.  Additionally an error will be logged.
  +
   
   
   
  @@ -271,6 +276,7 @@

SystemPropertiesSymbolSource
is a one-line implementation that allows access to system properties as 
substitution symbols.
  + Note that this configuration is not loaded by default.



  
  
  
  1.13  +3 -3  jakarta-commons-sandbox/hivemind/xdocs/rules.xml
  
  Index: rules.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/rules.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- rules.xml 14 Oct 2003 15:33:18 -  1.12
  +++ rules.xml 15 Oct 2003 15:48:44 -  1.13
  @@ -341,8 +341,8 @@
   
   
   
  -The configuration translator converts an input value into an configuration point 
id, then obtains
  -the elements for that configuration point as the value.  The id may be fully 
qualified, or a local id within
  +The configuration translator converts an input value into a configuration point id, 
then obtains
  +the elements for that configuration point as a List.  The id may be fully 
qualified, or a local id within
   the contributing module. 

   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/xdocs RemoteExceptionCoordinator.xml EJBProxyFactory.xml NameLookup.xml navigation.xml

2003-10-14 Thread hlship
hlship  2003/10/14 12:14:43

  Modified:hivemind/library/xdocs navigation.xml
  Added:   hivemind/library/xdocs RemoteExceptionCoordinator.xml
EJBProxyFactory.xml NameLookup.xml
  Log:
  Document the services provided in the HiveMind library.
  
  Revision  ChangesPath
  1.4   +7 -1  jakarta-commons-sandbox/hivemind/library/xdocs/navigation.xml
  
  Index: navigation.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/xdocs/navigation.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- navigation.xml9 Oct 2003 22:58:16 -   1.3
  +++ navigation.xml14 Oct 2003 19:14:43 -  1.4
  @@ -14,6 +14,12 @@
   
   

  +
  + 
  + 
  +
  +  
  +
   
   
   
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/library/xdocs/RemoteExceptionCoordinator.xml
  
  Index: RemoteExceptionCoordinator.xml
  ===
  
  
  
 

%common-links;
]>
  
  

  hivemind.lib.RemoteExceptionCoordinator Service
  Howard M. Lewis Ship

  



  
  
  The RemoteExceptionCoordinator
  is used to propogate notifications of remote exceptions throughout the HiveMind 
repository. When any individual
  service encounters a remote exception, it notifies all listeners, who release all 
remote object proxies.
  
  
  
  The service interface, 
  RemoteExceptionCoordinator, 
allows objects
  that implement the RemoteExceptionListener
  interface to be registered for notification, and includes a method for firing 
notifications.
  



  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/library/xdocs/EJBProxyFactory.xml
  
  Index: EJBProxyFactory.xml
  ===
  
  
  
 

%common-links;
]>
  
  

  hivemind.lib.EJBProxyFactory Service
  Howard M. Lewis Ship

  



  
  
  The EJBProxyFactory service 
is
  used to construct a HiveMind service that delegates to an EJB stateless session 
bean. The
  EJB's remote interface is the service interface. When the first service method is 
invoked, the fabricated proxy
  will perform a JNDI lookup (using the NameLookup 
service), and invokes
  create() on the returned home interface.
  
  
  
  The single service instance will be shared by all threads.
  

  
  The general usage is as follows:
  
  

  
  The home-interface attribute is the complete class name for the home 
interface, and
  is required.
  
  
   The jndi-name attribute is the name of the EJB's home interface, also 
required.



  The name-lookup-service-id attribute is optional and rarely used; it is an 
alternate service
  implementing the NameLookup interface to be 
used for JNDI lookups.
  



  
  
  
  
  1.1  jakarta-commons-sandbox/hivemind/library/xdocs/NameLookup.xml
  
  Index: NameLookup.xml
  ===
  
  
  
 

%common-links;
]>
  
  

  hivemind.lib.NameLookup Service
  Howard M. Lewis Ship

  



  
  
  The NameLookup
  service is a thin wrapper around JNDI lookup.  It is used by
  the EJBProxyFactory service to locate
  EJBs.
  
  
  
  The implementation makes use of three symbols (all of whose values default to null):
  
  java.naming.factory.initial  
  java.naming.factory.url
  java.naming.provider.url
  
  
  
  
  By supplying overrides of these values, it is possible to configure how the 
NameLookup service
  generated the InitialContext used for performing the JNDI lookup.
  
  



  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib RemoteExceptionCoordinator.java RemoteExceptionListener.java

2003-10-14 Thread hlship
hlship  2003/10/14 12:14:25

  Modified:hivemind/library/src/java/org/apache/commons/hivemind/lib/impl
AbstractEJBProxy.java
RemoteExceptionCoordinatorImpl.java
NameLookupImpl.java
   hivemind/library/src/java/org/apache/commons/hivemind/lib
RemoteExceptionCoordinator.java
RemoteExceptionListener.java
  Log:
  Minor name tweaks to RemoteExceptionCoordinator and RemoteExceptionListener method 
names.
  
  Revision  ChangesPath
  1.3   +3 -3  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/AbstractEJBProxy.java
  
  Index: AbstractEJBProxy.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/AbstractEJBProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractEJBProxy.java 12 Oct 2003 09:50:11 -  1.2
  +++ AbstractEJBProxy.java 14 Oct 2003 19:14:25 -  1.3
  @@ -83,7 +83,7 @@
   
   _coordinator.addRemoteExceptionListener(new RemoteExceptionListener()
   {
  -public void remoteException(RemoteExceptionEvent event)
  +public void remoteExceptionDidOccur(RemoteExceptionEvent event)
   {
   _clearCachedReferences();
   }
  @@ -103,6 +103,6 @@
   
   protected void _fireRemoteExceptionNotification(RemoteException ex)
   {
  -_coordinator.sendNotifications(this, ex);
  +_coordinator.fireRemoteExceptionDidOccur(this, ex);
   }
   }
  
  
  
  1.4   +3 -3  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/RemoteExceptionCoordinatorImpl.java
  
  Index: RemoteExceptionCoordinatorImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/RemoteExceptionCoordinatorImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RemoteExceptionCoordinatorImpl.java   12 Oct 2003 09:50:11 -  1.3
  +++ RemoteExceptionCoordinatorImpl.java   14 Oct 2003 19:14:25 -  1.4
  @@ -105,7 +105,7 @@
   _listeners.remove(listener);
   }
   
  -public synchronized void sendNotifications(Object source, Throwable exception)
  +public synchronized void fireRemoteExceptionDidOccur(Object source, Throwable 
exception)
   {
   checkLocked("sendNotification");
   
  @@ -125,7 +125,7 @@
   {
   RemoteExceptionListener listener = (RemoteExceptionListener) 
_listeners.get(i);
   
  -listener.remoteException(event);
  +listener.remoteExceptionDidOccur(event);
   }
   }
   finally
  
  
  
  1.5   +3 -3  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/NameLookupImpl.java
  
  Index: NameLookupImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/NameLookupImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- NameLookupImpl.java   12 Oct 2003 09:50:11 -  1.4
  +++ NameLookupImpl.java   14 Oct 2003 19:14:25 -  1.5
  @@ -105,7 +105,7 @@
   catch (NamingException ex)
   {
   if (i++ == 0)
  -_coordinator.sendNotifications(this, ex);
  +_coordinator.fireRemoteExceptionDidOccur(this, ex);
   else
   throw new ApplicationRuntimeException(
   HiveMind.format("NameLookup.unable-to-lookup", name, 
context),
  @@ -158,7 +158,7 @@
   /**
* Sets the InitialContext to null.
*/
  -public void remoteException(RemoteExceptionEvent event)
  +public void remoteExceptionDidOccur(RemoteExceptionEvent event)
   {
   _initialContext = null;
   }
  
  
  
  1.3   +2 -2  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionCoordinator.java
  
  Index: RemoteExceptionCoordinator.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/RemoteExceptionCoordinator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RemoteExceptionCoordinator.java   12 Oct 2003 09:51:40 -  1.2
  +++ RemoteExceptionCoordinator.java   14 Oct 2003 19:14:25 -  1.3
  @@ -82,5 +82,5 @@
* Invoke

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse DescriptorParser.java

2003-10-14 Thread hlship
hlship  2003/10/14 08:33:18

  Modified:hivemind/framework/src/test/hivemind/test/rules
TestNumericTranslators.java
TestObjectTranslator.java
   hivemind/framework/src/java/org/apache/commons/hivemind/schema/rules
ObjectTranslator.java
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMindMessages.properties
   hivemind/xdocs rules.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
DescriptorParser.java
  Added:   hivemind/framework/src/test/hivemind/test/rules
PrivateObject.java
   hivemind/framework/src/java/org/apache/commons/hivemind/schema/rules
DoubleTranslator.java ClassTranslator.java
  Log:
  Add two new translators: double and class.
  
  Revision  ChangesPath
  1.3   +57 -1 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules/TestNumericTranslators.java
  
  Index: TestNumericTranslators.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules/TestNumericTranslators.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestNumericTranslators.java   12 Oct 2003 09:55:31 -  1.2
  +++ TestNumericTranslators.java   14 Oct 2003 15:33:17 -  1.3
  @@ -62,6 +62,7 @@
   import org.apache.commons.hivemind.Element;
   import org.apache.commons.hivemind.impl.ElementImpl;
   import org.apache.commons.hivemind.schema.SchemaProcessor;
  +import org.apache.commons.hivemind.schema.rules.DoubleTranslator;
   import org.apache.commons.hivemind.schema.rules.IntTranslator;
   import org.apache.commons.hivemind.schema.rules.LongTranslator;
   
  @@ -182,6 +183,61 @@
   t.translate(new MockSchemaProcessor(), new ElementImpl(), "qbert"));
   
   assertLoggedMessage("'qbert' (in element foo/bar/baz at null) is not a long 
value.");
  +}
  +
  +/**
  + * Tests [EMAIL PROTECTED] 
org.apache.commons.hivemind.schema.rules.IntTranslator} with
  + * the default constructor.
  + */
  +public void testDoubleTranslator()
  +{
  +DoubleTranslator t = new DoubleTranslator();
  +
  +assertEquals(new Double(10.7), t.translate(null, null, "10.7"));
  +}
  +
  +public void testDoubleDefault()
  +{
  +DoubleTranslator t = new DoubleTranslator();
  +
  +assertEquals(new Double(0), t.translate(null, null, null));
  +}
  +
  +public void testDoubleRange()
  +{
  +DoubleTranslator t = new DoubleTranslator("min=5.25,max=200");
  +SchemaProcessor p = new MockSchemaProcessor();
  +Element e = new ElementImpl();
  +
  +interceptLogging();
  +
  +assertEquals(new Double(5.25), t.translate(p, e, "3"));
  +
  +assertLoggedMessage("Value 3 (at null) is less than minimum value 5.25.");
  +
  +assertEquals(new Double(200), t.translate(p, e, "50900.30"));
  +
  +assertLoggedMessage("Value 50900.30 (at null) is greater than maximum value 
200.");
  +}
  +
  +public void testDoubleDefaultValue()
  +{
  +DoubleTranslator t = new DoubleTranslator("default=7.77");
  +
  +assertEquals(new Double(7.77), t.translate(null, null, null));
  +}
  +
  +public void testDoubleInvalid()
  +{
  +DoubleTranslator t = new DoubleTranslator("default=13");
  +
  +interceptLogging();
  +
  +assertEquals(
  +new Double(13),
  +t.translate(new MockSchemaProcessor(), new ElementImpl(), "qbert"));
  +
  +assertLoggedMessage("'qbert' (in element foo/bar/baz at null) is not a 
double value.");
   }
   
   }
  
  
  
  1.3   +39 -2 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules/TestObjectTranslator.java
  
  Index: TestObjectTranslator.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules/TestObjectTranslator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestObjectTranslator.java 12 Oct 2003 09:55:31 -  1.2
  +++ TestObjectTranslator.java 14 Oct 2003 15:33:17 -  1.3
  @@ -61,17 +61,20 @@
   
   import java.util.List;
   
  +import org.apache.commons.hivemind.ApplicationRuntimeException;
   import org.apache.commons.hivemind.Location;
   import org.apache.commons.hivemind.Registry;
   import org.apache.commons.hivemind.impl.BaseLocatable;
   import org.apache.commons.hivemind.impl.E

cvs commit: jakarta-commons-sandbox/hivemind/library project.properties project.xml

2003-10-09 Thread hlship
hlship  2003/10/09 16:16:24

  Modified:hivemind/framework project.xml project.properties
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
ServiceExtensionPointImpl.java
ElementsProxyList.java ThreadedServiceModel.java
RegistryBuilder.java ElementsInnerProxyList.java
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMind.java
   hivemind/framework/src/java/org/apache/commons/hivemind/util
LocalizedNameGenerator.java
   hivemind/library project.properties project.xml
  Log:
  Add PMD reports and make some fixes based on the reports.
  
  Revision  ChangesPath
  1.9   +2 -1  jakarta-commons-sandbox/hivemind/framework/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- project.xml   9 Oct 2003 22:58:15 -   1.8
  +++ project.xml   9 Oct 2003 23:16:24 -   1.9
  @@ -170,6 +170,7 @@
 
   maven-javadoc-plugin
   maven-jxr-plugin
  +maven-pmd-plugin
   maven-junit-report-plugin  
   maven-clover-plugin  
  
  
  
  
  1.5   +5 -1  jakarta-commons-sandbox/hivemind/framework/project.properties
  
  Index: project.properties
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.properties20 Sep 2003 12:48:19 -  1.4
  +++ project.properties9 Oct 2003 23:16:24 -   1.5
  @@ -5,3 +5,7 @@
   # with an IncompatibleClassChange exception if fork is false.
   maven.junit.fork=yes
   
  +maven.jar.index=true
  +
  +maven.pmd.enable=true
  +maven.pmd.excludes=org/apache/commons/hivemind/test/**
  
  
  
  1.5   +1 -5  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ServiceExtensionPointImpl.java
  
  Index: ServiceExtensionPointImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ServiceExtensionPointImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ServiceExtensionPointImpl.java1 Oct 2003 20:43:21 -   1.4
  +++ ServiceExtensionPointImpl.java9 Oct 2003 23:16:24 -   1.5
  @@ -68,8 +68,6 @@
   import org.apache.commons.hivemind.ServiceModel;
   import org.apache.commons.hivemind.schema.Schema;
   import org.apache.commons.lang.builder.ToStringBuilder;
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
   
   /**
* Abstract implementation of [EMAIL PROTECTED] 
org.apache.commons.hivemind.ServiceExtensionPoint}.
  @@ -84,8 +82,6 @@
   extends AbstractExtensionPoint
   implements ConstructableServiceExtensionPoint
   {
  -private static final Log LOG = 
LogFactory.getLog(ServiceExtensionPointImpl.class);
  -
   private String _serviceInterfaceName;
   
   private Class _serviceInterface;
  
  
  
  1.4   +8 -3  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ElementsProxyList.java
  
  Index: ElementsProxyList.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ElementsProxyList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ElementsProxyList.java1 Oct 2003 20:43:21 -   1.3
  +++ ElementsProxyList.java9 Oct 2003 23:16:24 -   1.4
  @@ -108,10 +108,15 @@
   {
   return _inner.toString();
   }
  -
  +
   public boolean equals(Object o)
   {
  - return _inner.equals(o);
  +return _inner.equals(o);
  +}
  +
  +public int hashCode()
  +{
  +return _inner.hashCode();
   }
   
   public void setInner(List list)
  
  
  
  1.8   +1 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ThreadedServiceModel.java
  
  Index: ThreadedServiceModel.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ThreadedServiceModel.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ThreadedServiceModel.java 9 Oct 2003 22:58:16 -   1.7
  +++ ThreadedServiceModel.java 9 Oct 2003 23:16:24 -   1.8
  @@ -88,7 +88,6

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/service/impl DefaultsSymbolSource.java ThreadLocalStorageImpl.java

2003-10-09 Thread hlship
hlship  2003/10/09 15:58:17

  Modified:hivemind/framework project.xml maven.xml
   hivemind/framework/src/test/hivemind/test/services
TestThreadLocalStorage.java
   hivemind/framework/xdocs ThreadEventNotifier.xml
navigation.xml BuilderFactory.xml
LoggingInterceptor.xml FactoryDefaults.xml
ClassFactory.xml ThreadLocalStorage.xml
SymbolSource.xml ApplicationDefaults.xml
   hivemind project.xml maven.xml
   hivemind/framework/src/java/org/apache/commons/hivemind
PoolManageable.java Initializable.java
   hivemind/xdocs navigation.xml configurations.xml
services.xml
   hivemind/library/xdocs navigation.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
ConstructableServiceExtensionPoint.java
SingletonServiceModel.java ProxyBuilder.java
AbstractServiceModelImpl.java RegistryBuilder.java
DeferredServiceModel.java ThreadedServiceModel.java
PooledServiceModel.java
   hivemind/common links.xml
   hivemind/framework/src/test/hivemind/test/services/impl
CheckInitializeServiceImpl.java
   hivemind/framework/xdocs/ant ManifestClassPath.xml
   hivemind/library/src/java/org/apache/commons/hivemind/lib/impl
NameLookupImpl.java
   hivemind/framework/src/java/org/apache/commons/hivemind/service/impl
DefaultsSymbolSource.java
ThreadLocalStorageImpl.java
  Added:   hivemind/xdocs hivedoc.xml
   hivemind/src/xsl hivemind.xsl hivemind.css
   hivemind/library maven.xml
  Removed: hivemind/framework/xdocs registry.xml
   hivemind/framework/src/test-data/sample
org.example.boostrap.xml org.example.toolbar.ui.xml
   hivemind/framework/src/xsl hivemind.xsl hivemind.css
  Log:
  Remove parameter from Initializable.initializeService() method.
  Clean up Javadoc.
  Build Hivedoc at top-level project.
  
  Revision  ChangesPath
  1.8   +1 -9  jakarta-commons-sandbox/hivemind/framework/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- project.xml   25 Sep 2003 21:38:40 -  1.7
  +++ project.xml   9 Oct 2003 22:58:15 -   1.8
  @@ -101,14 +101,6 @@
3.8.1
http://www.junit.org/
   
  -
  -
  -
  -
  - saxon  
  - 6.5.2
  - http://saxon.sf.net
  -

   
   
  
  
  
  1.3   +5 -58 jakarta-commons-sandbox/hivemind/framework/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/maven.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.xml 20 Sep 2003 12:48:19 -  1.2
  +++ maven.xml 9 Oct 2003 22:58:15 -   1.3
  @@ -2,62 +2,9 @@
   
   
   
  - 
  - 
  - Building HiveModule Registry docs ...
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  -  
  - 
  - 
  - 
  -
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  + 
  + 

   
  
  
  
  1.3   +2 -2  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services

cvs commit: jakarta-commons-sandbox/hivemind/xdocs interceptors.xml

2003-10-06 Thread hlship
hlship  2003/10/06 14:27:19

  Modified:hivemind/xdocs interceptors.xml
  Log:
  Simplify the initial interceptor example.
  
  Revision  ChangesPath
  1.9   +12 -14jakarta-commons-sandbox/hivemind/xdocs/interceptors.xml
  
  Index: interceptors.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/interceptors.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- interceptors.xml  29 Sep 2003 16:16:35 -  1.8
  +++ interceptors.xml  6 Oct 2003 21:27:18 -   1.9
  @@ -95,7 +95,6 @@
   
   import java.lang.reflect.Modifier;
   
  -import org.apache.commons.hivemind.service.BodyBuilder;
   import org.apache.commons.hivemind.service.ClassFab;
   import org.apache.commons.hivemind.service.impl.AbstractServiceInterceptorFactory;
   
  @@ -109,21 +108,13 @@
   Class[] parameterTypes,
   Class[] exceptionTypes)
   {
  -BodyBuilder builder = new BodyBuilder();
  -
  -builder.begin();
  -builder.add("return ($r) _inner.");
  -builder.add(methodName);
  -builder.add("($$);");
  -builder.end();
  -
   classFab.addMethod(
   Modifier.PUBLIC,
   methodName,
   returnType,
   parameterTypes,
   exceptionTypes,
  -builder.toString());
  + "{ return ($r) _inner." + methodName + "($$); }");
   }
   
   }
  @@ -145,9 +136,7 @@
   
   
   
  -The 
  -BodyBuilder class helps
  -with assembling method bodies from  bits and pieces.  The _inner 
variable is a private instance variable,
  +The _inner variable is a private instance variable,
   the inner for this interceptor.  The ($r) reference means "cast to the 
return type for this method", and properly handles
   void methods.  The $$ is a placeholder for a comma-seperated list of 
all the parameters to the method.
   
  @@ -379,6 +368,15 @@
   ]]>


  +
  +A bit more is going on here; since the method bodies for the fabricated methods are 
more complex,
  +we're using the
  +BodyBuilder class to help
  +assemble them (but still keep the final method body neat and readable).  
BodyBuilder's
  +begin() and end() methods take care of open and close braces, as well as 
indentation inside
  +a code block.
  +
  +
   
   When you implement logging in your own classes, you often invoke the
   method Log.isDebugEnabled() multiple times ... but in the fabricated 
class,
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl ProxyBuilder.java

2003-10-06 Thread hlship
hlship  2003/10/06 11:24:55

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/impl
ProxyBuilder.java
  Log:
  Make ProxyBuilder's constructor public.
  
  Revision  ChangesPath
  1.3   +8 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ProxyBuilder.java
  
  Index: ProxyBuilder.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ProxyBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ProxyBuilder.java 1 Oct 2003 20:43:21 -   1.2
  +++ ProxyBuilder.java 6 Oct 2003 18:24:55 -   1.3
  @@ -81,7 +81,13 @@
   private ClassFab _classFab;
   private String _type;
   
  -ProxyBuilder(String type, ServiceExtensionPoint point)
  +/**
  + * Constructs a new builder.  The type will be incorporated
  + * into the class name and the toString() method.
  + * The service extension point is used to identify the service interface
  + * and service id.
  + */
  +public ProxyBuilder(String type, ServiceExtensionPoint point)
   {
   _point = point;
   _type = type;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/xdocs services.xml

2003-10-02 Thread hlship
hlship  2003/10/02 11:42:06

  Modified:hivemind/framework/src/test/hivemind/test/services/impl
RunnableImpl.java
   hivemind/framework/src/test/hivemind/test/services
TestThreadedModel.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
AbstractServiceModelImpl.java
ThreadedServiceModel.java
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMindMessages.properties
   hivemind/xdocs services.xml
  Added:   hivemind/framework/src/test/hivemind/test/services/impl
RegistryShutdownStringHolderImpl.java
DiscardableStringHolderImpl.java
   hivemind/framework/src/test/hivemind/test/services
ThreadedRegistryShutdown.xml
ThreadedDiscardable.xml
   hivemind/framework/src/java/org/apache/commons/hivemind
Discardable.java
  Log:
  Add Discardable interface, used by the threaded service model.
  
  Revision  ChangesPath
  1.2   +58 -1 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/impl/RunnableImpl.java
  
  Index: RunnableImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/impl/RunnableImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RunnableImpl.java 1 Oct 2003 20:43:21 -   1.1
  +++ RunnableImpl.java 2 Oct 2003 18:42:06 -   1.2
  @@ -1,3 +1,60 @@
  +/*
  + * 
  + *
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *notice, this list of conditions and the following disclaimer in
  + *the documentation and/or other materials provided with the
  + *distribution.
  + *
  + * 3. The end-user documentation included with the redistribution, if
  + *any, must include the following acknowlegement:
  + *   "This product includes software developed by the
  + *Apache Software Foundation (http://www.apache.org/)."
  + *Alternately, this acknowlegement may appear in the software itself,
  + *if and wherever such third-party acknowlegements normally appear.
  + *
  + * 4. The names "The Jakarta Project", "Commons", and "Apache Software
  + *Foundation" must not be used to endorse or promote products derived
  + *from this software without prior written permission. For written
  + *permission, please contact [EMAIL PROTECTED]
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *nor may "Apache" appear in their names without prior written
  + *permission of the Apache Group.
  + *
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + * SUCH DAMAGE.
  + * 
  + *
  + * This software consists of voluntary contributions made by many
  + * individuals on behalf of the Apache Software Foundation.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
  +
   package hivemind.test.services.impl;
   
   import org.apache.commons.hivemind.RegistryShutdownListener;
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/impl/RegistryShu

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/service/impl ThreadEventNotifierImpl.java

2003-09-29 Thread hlship
hlship  2003/09/29 13:56:19

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/service/impl
ThreadEventNotifierImpl.java
  Added:   hivemind/framework/src/test/hivemind/test/util
TestEventListenerList.java
   hivemind/framework/src/java/org/apache/commons/hivemind/util
EventListenerList.java
  Log:
  Create utility class EventListenerList, used for managing listeners lists (for 
services like ThreadEventNotifier).
  
  Revision  ChangesPath
  1.1  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/util/TestEventListenerList.java
  
  Index: TestEventListenerList.java
  ===
  /*
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2003 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   "This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/)."
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Commons", and "Apache Software
   *Foundation" must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *nor may "Apache" appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   */
  
  package hivemind.test.util;
  
  import hivemind.test.FrameworkTestCase;
  
  import java.util.Iterator;
  
  import org.apache.commons.hivemind.util.EventListenerList;
  
  /**
   * Tests for [EMAIL PROTECTED] org.apache.commons.hivemind.util.EventListenerList}.
   *
   * @author Howard Lewis Ship
   * @version $Id: TestEventListenerList.java,v 1.1 2003/09/29 20:56:18 hlship Exp $
   */
  public class TestEventListenerList extends FrameworkTestCase
  {
  private static class Trigger
  {
  private boolean _trigger;
  
  public boolean isTrigger()
  {
  return _trigger;
  }
  
  public void setTrigger(boolean b)
  {
  _trigger = b;
  }
  
  }
  
  public TestEventListenerList(String name)
  {
  super(name);
  }
  
  private Trigger[] buildTriggers(int count)
  {
  Trigger[] result = new Trigger[count];
  
  for (int i = 0; i < count; i++)
  {
  result[i] = new Trigger();
  }
  
  return result;
  }
  
  private void addAll(EventListenerList l, Trigger[] t)
  {
  for (int i = 0; i < t.length; i++)
  l.addListener(t[i]);
  }
  
  private void checkAllTrue(Trigger[] t)
  {
  for (int i = 0; i < t.length; i++)
 

cvs commit: jakarta-commons-sandbox/hivemind/framework/xdocs ThreadEventNotifier.xml FactoryDefaults.xml ClassFactory.xml BuilderFactory.xml ThreadLocalStorage.xml LoggingInterceptor.xml ApplicationDefaults.xml SymbolSource.xml

2003-09-29 Thread hlship
hlship  2003/09/29 09:16:35

  Modified:hivemind/xdocs index.xml multithreading.xml localization.xml
descriptor.xml override.xml ioc.xml case1.xml
configurations.xml bootstrap.xml services.xml
rules.xml interceptors.xml
   hivemind/framework/xdocs ThreadEventNotifier.xml
FactoryDefaults.xml ClassFactory.xml
BuilderFactory.xml ThreadLocalStorage.xml
LoggingInterceptor.xml ApplicationDefaults.xml
SymbolSource.xml
  Log:
  Fix relative URLs in xdocs for Maven 1.0-rc1 (which fixes a bug in xdoc XML parsing).
  
  Revision  ChangesPath
  1.17  +2 -2  jakarta-commons-sandbox/hivemind/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/index.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- index.xml 29 Sep 2003 15:32:25 -  1.16
  +++ index.xml 29 Sep 2003 16:16:35 -  1.17
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.7   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/multithreading.xml
  
  Index: multithreading.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/multithreading.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- multithreading.xml18 Sep 2003 19:00:57 -  1.6
  +++ multithreading.xml29 Sep 2003 16:16:35 -  1.7
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.9   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/localization.xml
  
  Index: localization.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/localization.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- localization.xml  18 Sep 2003 19:00:57 -  1.8
  +++ localization.xml  29 Sep 2003 16:16:35 -  1.9
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.26  +2 -2  jakarta-commons-sandbox/hivemind/xdocs/descriptor.xml
  
  Index: descriptor.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/descriptor.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- descriptor.xml18 Sep 2003 19:00:57 -  1.25
  +++ descriptor.xml29 Sep 2003 16:16:35 -  1.26
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.5   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/override.xml
  
  Index: override.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/override.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- override.xml  23 Sep 2003 22:23:51 -  1.4
  +++ override.xml  29 Sep 2003 16:16:35 -  1.5
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.14  +2 -2  jakarta-commons-sandbox/hivemind/xdocs/ioc.xml
  
  Index: ioc.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/ioc.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ioc.xml   29 Sep 2003 15:32:25 -  1.13
  +++ ioc.xml   29 Sep 2003 16:16:35 -  1.14
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.9   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/case1.xml
  
  Index: case1.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/case1.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- case1.xml 23 Sep 2003 22:23:51 -  1.8
  +++ case1.xml 29 Sep 2003 16:16:35 -  1.9
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.3   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/configurations.xml
  
  Index: configurations.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/configurations.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- configurations.xml23 Sep 2003 22:23:51 -  1.2
  +++ configurations.xml29 Sep 2003 16:16:35 -  1.3
  @@ -1,7 +1,7 @@
   
   
   
  + 
%common-links;
]>
   
  
  
  
  1.8   +2

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl ThreadedServiceModel.java

2003-09-29 Thread hlship
hlship  2003/09/29 09:16:06

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/impl
ThreadedServiceModel.java
  Log:
  Refactor the service extension point implementations into a single 
ServiceExtensionPointImpl and multiple implementations of the new ServiceModel 
interface.
  
  Revision  ChangesPath
  1.2   +2 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ThreadedServiceModel.java
  
  Index: ThreadedServiceModel.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/ThreadedServiceModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ThreadedServiceModel.java 29 Sep 2003 15:32:25 -  1.1
  +++ ThreadedServiceModel.java 29 Sep 2003 16:16:06 -  1.2
  @@ -73,7 +73,7 @@
* [EMAIL PROTECTED] org.apache.commons.hivemind.impl.DeferredServiceModel}, 
* this method returns a proxy (implementing the service interface); unlike
* DeferredServiceModel, it always returns the proxy.
  - * Invoking a service method on the proxy binds constructs a service implementation
  + * Invoking a service method on the proxy constructs a service implementation
* and binds it to the current thread. 
*
* @author Howard Lewis Ship
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind ServiceModel.java

2003-09-29 Thread hlship
hlship  2003/09/29 08:39:49

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind
ServiceModel.java
  Log:
  Refactor the service extension point implementations into a single 
ServiceExtensionPointImpl and multiple implementations of the new ServiceModel 
interface.
  
  Revision  ChangesPath
  1.2   +3 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ServiceModel.java
  
  Index: ServiceModel.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ServiceModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServiceModel.java 29 Sep 2003 15:32:25 -  1.1
  +++ ServiceModel.java 29 Sep 2003 15:39:49 -  1.2
  @@ -69,7 +69,8 @@
   public interface ServiceModel
   {
   /**
  - * Invoked by the service to obtain the service implementation. The model
  + * Invoked by the service extension point
  + * to obtain the service implementation. The model
* may return the actual service implementation or some form of proxy.
*/
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/parse TestDescriptorParser.java

2003-09-29 Thread hlship
hlship  2003/09/29 08:36:52

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind
ConfigurationPoint.java
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
ConfigurationPointDescriptor.java
DescriptorParser.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
RegistryBuilder.java ConfigurationPointImpl.java
   hivemind/framework/src/test/hivemind/test/parse
TestDescriptorParser.java
  Log:
  Add ConfigurationPoint.getContributionsSchema() method.
  
  Revision  ChangesPath
  1.2   +10 -1 
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ConfigurationPoint.java
  
  Index: ConfigurationPoint.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ConfigurationPoint.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConfigurationPoint.java   18 Sep 2003 19:00:59 -  1.1
  +++ ConfigurationPoint.java   29 Sep 2003 15:36:52 -  1.2
  @@ -59,6 +59,8 @@
   
   import java.util.List;
   
  +import org.apache.commons.hivemind.schema.Schema;
  +
   /**
* An extension point that provides configuration data in the form
* of a list of elements.
  @@ -78,4 +80,11 @@
*/
   
   public List getElements();   
  +
  +/**
  + * Returns the Schema for contributions to the configuration point
  + * (which may be null if the point does not define a schema for
  + * contributions).
  + */
  +public Schema getContributionsSchema();
   }
  
  
  
  1.2   +7 -7  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse/ConfigurationPointDescriptor.java
  
  Index: ConfigurationPointDescriptor.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse/ConfigurationPointDescriptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConfigurationPointDescriptor.java 18 Sep 2003 19:01:00 -  1.1
  +++ ConfigurationPointDescriptor.java 29 Sep 2003 15:36:52 -  1.2
  @@ -73,7 +73,7 @@
   {
   private String _id;
   private Occurances _count = Occurances.UNBOUNDED;
  -private Schema _schema;
  +private Schema _contributionsSchema;
   
   public String toString()
   {
  @@ -81,7 +81,7 @@
   
   builder.append("id", _id);
   builder.append("count", _count);
  -builder.append("schema", _schema);
  +builder.append("contributionsSchema", _contributionsSchema);
   
   return builder.toString();
   }
  @@ -106,14 +106,14 @@
   _id = string;
   }
   
  -public Schema getSchema()
  +public Schema getContributionsSchema()
   {
  -return _schema;
  +return _contributionsSchema;
   }
   
  -public void setSchema(Schema schema)
  +public void setContributionsSchema(Schema schema)
   {
  -_schema = schema;
  +_contributionsSchema = schema;
   }
   
   }
  
  
  
  1.5   +2 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse/DescriptorParser.java
  
  Index: DescriptorParser.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse/DescriptorParser.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DescriptorParser.java 29 Sep 2003 15:32:26 -  1.4
  +++ DescriptorParser.java 29 Sep 2003 15:36:52 -  1.5
  @@ -959,7 +959,7 @@
   {
   SchemaImpl schema = enterSchema(elementName);
   
  -epd.setSchema(schema);
  +epd.setContributionsSchema(schema);
   
   return;
   }
  
  
  
  1.7   +2 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/RegistryBuilder.java
  
  Index: RegistryBuilder.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/RegistryBuilder.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RegistryBuilder.java  29 Sep 2003 15:32:25 -  1.6
  +++ RegistryBuilder.java  29 Sep 2003 15:36:52 -  1.7
  @@ -381,7 +381,7 @@
   point.setLocation(cpd.getLocation());
   point.setModule(module);
   point.setExpectedCount(cpd.getCount());
  - 

cvs commit: jakarta-commons-sandbox/hivemind maven.xml

2003-09-26 Thread hlship
hlship  2003/09/26 11:19:35

  Modified:hivemind/xdocs bootstrap.xml
   hivemind/framework/xdocs navigation.xml
   hivemind/framework/src/xsl hivemind.xsl
   hivemind maven.xml
  Added:   hivemind/framework/xdocs ThreadEventNotifier.xml
FactoryDefaults.xml ThreadLocalStorage.xml
ClassFactory.xml SymbolSource.xml
ApplicationDefaults.xml
  Log:
  Fill in the gaps in the framework documentation.
  
  Revision  ChangesPath
  1.7   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/bootstrap.xml
  
  Index: bootstrap.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/bootstrap.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- bootstrap.xml 23 Sep 2003 22:23:51 -  1.6
  +++ bootstrap.xml 26 Sep 2003 18:19:35 -  1.7
  @@ -85,7 +85,7 @@
   ]]>
   
   
  -Here we've chosen to have the module id, hivemind.examples  match 
the package name but
  +Here we've chosen to have the module id, hivemind.examples, match 
the package name but
   that is not an absolute requirement.
   
   
  
  
  
  1.3   +11 -2 jakarta-commons-sandbox/hivemind/framework/xdocs/navigation.xml
  
  Index: navigation.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/xdocs/navigation.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- navigation.xml24 Sep 2003 16:07:52 -  1.2
  +++ navigation.xml26 Sep 2003 18:19:35 -  1.3
  @@ -11,8 +11,17 @@

   
   
  -   
 
  + 
  +  
  +  
  +
 
  +
  +
  + 
  + 
  + 
  +
   
   
   
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/xdocs/ThreadEventNotifier.xml
  
  Index: ThreadEventNotifier.xml
  ===
  
  
  

%common-links;
]>
  
  

  hivemind.ThreadEventNotifier Service
  Howard M. Lewis Ship

  



  
  
  The ThreadEventNotifier
 service implements
  the
  ThreadEventNotifier 
interface. It is used internally by HiveMind
  to receive a notification when a thread should be cleaned up (at the end of a 
request or transaction).
  
  
  
  It is the application's responsibility to inform the service when the thread should 
be cleaned up; typically
  this is done from the top-level servlet (or, potentially, a servlet filter):
  
  
  public void service(ServletRequest request, ServletResponse response)
  throws ServletException, IOException
  {
try
{
  super.service(request, response);
}
finally
{
  getThreadEventNotifier().fireThreadCleanup(); 
} 
  }
  
  
  
  
  
  
  

  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/xdocs/FactoryDefaults.xml
  
  Index: FactoryDefaults.xml
  ===
  
  
  

%common-links;
]>
  
  

  hivemind.FactoryDefaults Configuration
  Howard M. Lewis Ship

  



  
  
  The FactoryDefaults 
configuration
  is used to set default values for substitution symbols. Contributions look like:
 
  
  
  
  
  Values defined here can be overriden by making a contribution to
  hivemind.ApplicationDefaults.
  
  
  
  
  
  

  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/xdocs/ThreadLocalStorage.xml
  
  Index: ThreadLocalStorage.xml
  ===
  
  
  

%common-links;
]>
  
  

  hivemind.ThreadLocalStorage Service
  Howard M. Lewis Ship

  



  
  
  The ThreadLocalStorage 
service implements
  the
  ThreadLocalStorage 
interface. This service
  acts as a kind of Map for temporary data. The map is local to the current thread, 
and is cleared
  at the end of the transaction (see ThreadEventNotifier).
  



  
  
  
  
  1.1  
jakarta-commons-sandbox/hivemind/framework/xdocs/ClassFactory.xml
  
  Index: ClassFactory.xml
  ===
  
  
  

%common-links;
]>
  
  

  hivemind.ClassFactory Service
  Howard M. Lewis Ship

  



  
  
  The ClassFactory 
service implements
  the
  ClassFactory interface. This 
service is a wrapper
  around the Javassist framework, as it utilized by the HiveMind framework to 
construct proxies and
  interceptors.
  

 

cvs commit: jakarta-commons-sandbox/hivemind/library project.xml

2003-09-25 Thread hlship
hlship  2003/09/25 15:02:12

  Modified:hivemind/library project.xml
  Log:
  Prune out unecessary dependencies.
  
  Revision  ChangesPath
  1.2   +1 -22 jakarta-commons-sandbox/hivemind/library/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/library/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml   19 Sep 2003 22:10:59 -  1.1
  +++ project.xml   25 Sep 2003 22:02:12 -  1.2
  @@ -79,27 +79,6 @@
 1.0.b2
 http://xml.apache.org/xerces/

  -
  - 
  - 
  -
  -  ant
  -  1.5.1
  -  http://ant.apache.org/
  -
  -
  -
  -
  -
  -  xerces
  -  2.2.1
  -  http://xml.apache.org/xerces/
  -
  -   
  -
  -
  - 

   
commons-collections
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library project.properties

2003-09-25 Thread hlship
hlship  2003/09/25 14:38:40

  Modified:hivemind/framework project.xml
   hivemind/framework/xdocs BuilderFactory.xml
   hivemind/framework/src/descriptor/META-INF hivemodule.xml
   hivemind/library project.properties
  Log:
  Add  to hivemind.BuilderFactory.
  
  Revision  ChangesPath
  1.7   +3 -20 jakarta-commons-sandbox/hivemind/framework/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- project.xml   20 Sep 2003 12:48:19 -  1.6
  +++ project.xml   25 Sep 2003 21:38:40 -  1.7
  @@ -18,7 +18,7 @@
 HiveMind framework sub-project
   
 
  -  The HiveMind framework, including core HiveMind services.
  +  The HiveMind framework, including core HiveMind services and configurations.
 
   
 
  @@ -51,7 +51,6 @@
1.6.1
http://jakarta.apache.org/jakarta-commons/beanutils.html 
   
  -

   
jboss
  @@ -59,18 +58,6 @@
2.6
  
   
  -
  -
  -
  -
  -
  - jboss
  - jboss-j2ee
  - 3.2.1
  -
  -
   
 xml-apis
 1.0.b2
  @@ -93,18 +80,14 @@
 2.2.1
 http://xml.apache.org/xerces/
   
  -   
  -
   
  - 

   
commons-collections
2.1
http://jakarta.apache.org/jakarta-commons/collections.html
   
  -   
  -   
  +
   
   
   
  
  
  
  1.2   +27 -4 
jakarta-commons-sandbox/hivemind/framework/xdocs/BuilderFactory.xml
  
  Index: BuilderFactory.xml
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/xdocs/BuilderFactory.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BuilderFactory.xml24 Sep 2003 16:07:52 -  1.1
  +++ BuilderFactory.xml25 Sep 2003 21:38:40 -  1.2
  @@ -30,12 +30,13 @@
   messages-property=". . ."
   service-id-property=". . .">
  
  -
  +   
  + 
  +
   
   
  -
  +
   
  -
   
   
 
  @@ -171,6 +172,28 @@


   
  +
  +
  +
  +
  +
  + 
  + Attribute Description
  +
  + 
  + propertyThe name of the property to set.
  + 
  + 
  + path   
  + 
  + The path to a 
  + Resource, relative
  + to the contributing module's deployment descriptor.
  + If available, a localized version of the Resource will
  + be selected.
  + 
  + 
  + 
   
   
   
  
  
  
  1.3   +24 -2 
jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml
  
  Index: hivemodule.xml
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- hivemodule.xml24 Sep 2003 16:07:52 -  1.2
  +++ hivemodule.xml25 Sep 2003 21:38:40 -  1.3
  @@ -310,7 +310,29 @@


  
 
  - 
  +  
  + 
  +   
  + 
  + 
  + Configures a property of the service 
instance to a
  + resource.
  + 
  + 
  + 
  + The name of the property 
of the service instance to configure.   
  + 
  + 
  + 
  + The path, relative to the 
module's deployment descriptor, of the resource.   
  + 
  + 
  + 
  + 
  + 
  + 
  +   
 
  +
 


  
  
  
  
  1.3   +6 -2  jakarta

cvs commit: jakarta-commons-sandbox/hivemind/library/src/descriptor/META-INF hivemodule.xml

2003-09-24 Thread hlship
hlship  2003/09/24 09:07:53

  Modified:hivemind/xdocs index.xml ioc.xml services.xml
interceptors.xml
   hivemind/library/xdocs navigation.xml
   hivemind/framework/src/descriptor/META-INF hivemodule.xml
   hivemind/library/src/java/org/apache/commons/hivemind/lib/impl
RemoteExceptionCoordinatorImpl.java
NameLookupImpl.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
RegistryBuilder.java
AbstractServiceExtensionPoint.java
ThreadedServiceExtensionPointImpl.java
   hivemind/common links.xml
   hivemind/framework/src/test/hivemind/test/services
ComplexModule.xml BuilderAccessFailure.xml
BuilderAccess.xml
   hivemind/framework/xdocs navigation.xml
   hivemind/framework/src/java/org/apache/commons/hivemind
Registry.java Configuration.java
   hivemind/framework/src/java/org/apache/commons/hivemind/service/impl
AbstractServiceInterceptorFactory.java
BuilderFactory.java BuilderParameter.java
   hivemind/library/src/descriptor/META-INF hivemodule.xml
  Added:   hivemind/framework/xdocs BuilderFactory.xml
LoggingInterceptor.xml
  Log:
  Minor tweaks to BuilderFactory.
  Add and integrated documentation about BuilderFactory, LoggingInterceptor.
  Fixed some broken Javadoc.
  
  Revision  ChangesPath
  1.15  +39 -22jakarta-commons-sandbox/hivemind/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/index.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- index.xml 23 Sep 2003 22:23:51 -  1.14
  +++ index.xml 24 Sep 2003 16:07:52 -  1.15
  @@ -20,13 +20,31 @@
from standalone applications all the way to enterprise applications deployed 
as EARs 
inside an application server.   

  + 
  + 
  + HiveMind allows you to create a data-driven, service-oriented architecture. A 
HiveMind
  + application is broken up into small, individually testable services (which are 
primarily
  + stateless singleton objects). The HiveMind framework is responsible for 
  + creating each service just as it is needed. You get the benefits of a service 
oriented architecture
  + without the complexity of J2EE stateless session beans. 
  +  HiveMind allows you to break apart your application into tiny,
  + easily tested (and easily reused) 
  + services, and create the full application simply by combining and configuring
  + the services. 
  + 
  + 
  + 
  + The service architecture is complemented by a configuration framework which 
allow many
  + independent modules to work together to define the configuration data used by 
services. 
  + 
 

Using HiveMind means writing less code; code that you would ordinarily write
for reading configuration files ... gone.  Code for managing singleton service 
objects ... gone.
The use of interceptors means that much repetetive coding 
also dissappears.  
  - For example, you can have a service automatically log method entry and exit 
using
  - an interceptor rather than in your own code.
  + For example, you can have a service automatically 
  + log method entry and exit using
  + an interceptor  rather 
than in your own code.



  @@ -54,28 +72,23 @@
one that supports very aggresive refactoring and a very fine granulatity to 
your solution.


  - 
  - Too much software is still architected with big, monolithic blocks of code 
that are hard to
  - maintain and hard to test.  HiveMind allows you to break apart your 
application into tiny,
  - easily tested (and easily reused) 
  - services, and create the full application simply by combining and configuring
  - the services. 
  - 






  - HiveMind is nearly ready to go into 1.0 beta. It's more than time to start 
building a community ...
  - contact mailto:[EMAIL PROTECTED]">Howard M. Lewis Ship if you 
would like
  - to get involved!  
  + HiveMind is nearly ready to go into 1.0 beta.
  + To participate, subscribe to
  + the [EMAIL PROTECTED] mailing list,
  + a prefix your subject line with [HiveMind].



  - The project is being reorganized as a Maven multiproject; expect a few 
teething pains -- especially
  - in terms of pre-packaged distributions.  Just download Maven 1.0-rc-1 

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/schema/rules SetModuleRule.java LongTranslator.java

2003-09-23 Thread hlship
hlship  2003/09/23 15:23:52

  Modified:hivemind/xdocs index.xml ioc.xml override.xml case1.xml
configurations.xml bootstrap.xml services.xml
rules.xml interceptors.xml
   hivemind/framework/src/test/hivemind/test/rules
MockSchemaProcessor.java
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMindMessages.properties
   hivemind/common links.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
DescriptorParser.java
   hivemind/framework/src/xsl hivemind.xsl
  Added:   hivemind/framework/src/test/hivemind/test/rules
TestSetModule.java TestNumericTranslators.java
   hivemind/framework/src/java/org/apache/commons/hivemind/schema/rules
SetModuleRule.java LongTranslator.java
  Log:
  Add LongTranslator and SetModuleRule.
  
  Revision  ChangesPath
  1.14  +4 -4  jakarta-commons-sandbox/hivemind/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/index.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- index.xml 18 Sep 2003 19:00:57 -  1.13
  +++ index.xml 23 Sep 2003 22:23:51 -  1.14
  @@ -124,9 +124,9 @@
and configurations.  Each module consists of:

Configuration points
  - Configurations (contributed to configuration points)
  + Contributions (to configuration points)
Service points
  - Services (implementation contributions to service points)
  + Implementation contributions (to service points)

   
   
  @@ -285,7 +285,7 @@
   
   
   Let HiveMind add a 
  -logging 
interceptor 
  +logging 
interceptor
   to your service.
   
   
  
  
  
  1.11  +2 -2  jakarta-commons-sandbox/hivemind/xdocs/ioc.xml
  
  Index: ioc.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/ioc.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ioc.xml   18 Sep 2003 19:00:57 -  1.10
  +++ ioc.xml   23 Sep 2003 22:23:51 -  1.11
  @@ -35,7 +35,7 @@
   all the modules it can find at runtime. HiveMind is responsible for creating 
services (including core implementations
   and interceptors).  It is quite possible to create service factories that do very 
container-like things,
   including connecting services together.  
  -hivemind.BuilderFactory 
  +hivemind.BuilderFactory 
   
   does just that, instantiating an object to act as the core service implementation, 
then setting
   properties of the object, some of which are references to services and  
configuration point element data.
   
  
  
  
  1.4   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/override.xml
  
  Index: override.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/override.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- override.xml  18 Sep 2003 19:00:57 -  1.3
  +++ override.xml  23 Sep 2003 22:23:51 -  1.4
  @@ -183,7 +183,7 @@
   
   
   To be honest, if this kind of indirection becomes extremely frequent, then HiveMind 
should change
  -to accomadate the pattern, perhaps adding an <override> element, 
similar to a &_interceptor; element. 
  +to accomidate the pattern, perhaps adding an <override> element, 
similar to a &_interceptor; element. 
   
   
   
  
  
  
  1.8   +6 -2  jakarta-commons-sandbox/hivemind/xdocs/case1.xml
  
  Index: case1.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/case1.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- case1.xml 19 Sep 2003 18:25:20 -  1.7
  +++ case1.xml 23 Sep 2003 22:23:51 -  1.8
  @@ -207,6 +207,7 @@
   
   
   
  +
   
   
   
  @@ -253,6 +254,8 @@
   
   
   
  +Adding throws Exception to the method signature allows the caller to 
be responsible
  +for exception reporting, which simplifies the task implementations.
   Shortly, we'll see how the application's master servlet invokes the Startup 
service. 
   
   
  @@ -798,7 +801,8 @@
   
   
   
  -The end result: an agile, easily extended system.  Courtesy of HiveMind. 
  +The end result: an agile, easily extended system.  HiveMind has provided the tools 
and environment
  +to support an elegant, data-driven solution ... replacing the old, code-heavy EJB 
implementation.
   

   
  
  
  
  1.2   +8 -8  jakarta-commons-sandbox/hiv

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules TestClassTranslator.java

2003-09-22 Thread hlship
hlship  2003/09/22 13:06:00

  Modified:hivemind/framework/src/java/org/apache/commons/hivemind/impl
DefaultClassResolver.java
DeferredServiceExtensionPointImpl.java
RegistryBuilder.java ConfigurationImpl.java
ServiceInterceptorContributionImpl.java
ThreadedServiceExtensionPointImpl.java
   hivemind/framework/src/test/hivemind/test/services
TestServices.java TestThreadedModel.java
   hivemind/framework/src/test/hivemind/test/parse
TestDescriptorParser.java TestToString.java
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
ModuleDescriptor.java
   hivemind/framework/src/test/hivemind/test TestMisc.java
   hivemind/framework/src/test/hivemind/test/rules
TestClassTranslator.java
  Added:   hivemind/framework/src/java/org/apache/commons/hivemind/impl
ProxyBuilder.java
SingletonServiceExtensionPointImpl.java
AbstractServiceExtensionPoint.java
  Removed: hivemind/framework/src/java/org/apache/commons/hivemind/impl
ServiceExtensionPointImpl.java
  Log:
  Refactor the three service point implementations.
  Split out most code-generation logic into new class, ProxyBuilder.
  Change the implementation of the deferred service model to use a pair of proxies (to 
avoid the need for synchronization).
  Remove some unused imports.
  
  Revision  ChangesPath
  1.2   +1 -2  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/DefaultClassResolver.java
  
  Index: DefaultClassResolver.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/DefaultClassResolver.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultClassResolver.java 16 Sep 2003 18:51:07 -  1.1
  +++ DefaultClassResolver.java 22 Sep 2003 20:05:59 -  1.2
  @@ -58,7 +58,6 @@
   package org.apache.commons.hivemind.impl;
   
   import java.net.URL;
  -import java.util.Map;
   
   import org.apache.commons.hivemind.ApplicationRuntimeException;
   import org.apache.commons.hivemind.ClassResolver;
  
  
  
  1.2   +91 -127   
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/DeferredServiceExtensionPointImpl.java
  
  Index: DeferredServiceExtensionPointImpl.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/DeferredServiceExtensionPointImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DeferredServiceExtensionPointImpl.java16 Sep 2003 18:51:07 -  1.1
  +++ DeferredServiceExtensionPointImpl.java22 Sep 2003 20:05:59 -  1.2
  @@ -58,26 +58,21 @@
   package org.apache.commons.hivemind.impl;
   
   import java.lang.reflect.Constructor;
  -import java.lang.reflect.Method;
   import java.lang.reflect.Modifier;
   
   import org.apache.commons.hivemind.ApplicationRuntimeException;
  -import org.apache.commons.hivemind.HiveMind;
  -import org.apache.commons.hivemind.Registry;
   import org.apache.commons.hivemind.service.BodyBuilder;
   import org.apache.commons.hivemind.service.ClassFab;
  -import org.apache.commons.hivemind.service.ClassFabUtils;
  -import org.apache.commons.hivemind.service.ClassFactory;
   
   /**
  - * Subclass of [EMAIL PROTECTED] 
org.apache.commons.hivemind.impl.ServiceExtensionPointImpl}
  + * Subclass of [EMAIL PROTECTED] 
org.apache.commons.hivemind.impl.SingletonServiceExtensionPointImpl}
* which supports creation of a deferred service proxy (deferring the actual
* construction of the service until absolutely necessary).
*
* @author Howard Lewis Ship
* @version $Id$
*/
  -public class DeferredServiceExtensionPointImpl extends ServiceExtensionPointImpl
  +public class DeferredServiceExtensionPointImpl extends AbstractServiceExtensionPoint
   {
   /**
* Name of a method in the deferred proxy that is used to obtain
  @@ -86,37 +81,25 @@
   protected static final String SERVICE_ACCESSOR_METHOD_NAME = "_service";
   
   private Object _serviceProxy;
  +private Object _constructedService;
   
  -/**
  - * Invokes [EMAIL PROTECTED] 
ServiceExtensionPointImpl#constructServiceImplementation()}
  - * and clears the deferred proxy. This method is, itself, invoked
  - * by the deferred proxy.
  - * 
  - */
  -public Object constructServiceImplementation()
  +public synchronized Object getService()
   {
  -

cvs commit: jakarta-commons-sandbox/hivemind/framework project.properties

2003-09-19 Thread hlship
hlship  2003/09/19 15:29:03

  Modified:hivemind project.xml
   hivemind/framework project.properties
  Log:
  Properly group the HiveMind jars in the Maven repository.
  
  Revision  ChangesPath
  1.23  +3 -1  jakarta-commons-sandbox/hivemind/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/project.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- project.xml   16 Sep 2003 19:08:10 -  1.22
  +++ project.xml   19 Sep 2003 22:29:03 -  1.23
  @@ -5,6 +5,8 @@
 
 commons-hivemind-project
 
  +  commons-hivemind
  +
 HiveMind
   
 1.0-alpha-3
  
  
  
  1.3   +2 -1  jakarta-commons-sandbox/hivemind/framework/project.properties
  
  Index: project.properties
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.properties19 Sep 2003 22:10:59 -  1.2
  +++ project.properties19 Sep 2003 22:29:03 -  1.3
  @@ -2,6 +2,7 @@
   
   maven.xdoc.date=left
   maven.junit.fork=yes
  +maven.jar.index=true
   
   maven.junit.sysproperties=testing-hivemind-framework
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules RulesSuite.java

2003-09-19 Thread hlship
hlship  2003/09/19 15:11:00

  Modified:hivemind/framework/src/test/hivemind/test/services
TestServices.java Constructed.java
ServiceTranslator.xml
   hivemind/framework/src/test/hivemind/test/services/impl
ConstructedImpl.java
   hivemind/xdocs navigation.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/test
HiveMindTestCase.java
   hivemind/framework/src/conf log4j.properties
   hivemind/framework/src/test/hivemind/test/config
TestConfigurationPoint.java
   hivemind .classpath
   hivemind/framework/src/META-INF hivemodule.xml
   hivemind/framework/src/test/hivemind/test
FrameworkTestCase.java TestMisc.java
TestRegistryBuilder.java
   hivemind/framework project.xml project.properties
  Added:   hivemind/library/src/java/org/apache/commons/hivemind/lib/impl
EJBProxyFactory.java
RemoteExceptionCoordinatorImpl.java
AbstractEJBProxy.java EJBProxyParameters.java
NameLookupImpl.java
   hivemind/library/src/test/hivemind/test/lib/impl
NameLookupHack.java SimpleHomeImpl.java
SimpleEJB.java FakeContext.java
SimpleServiceImpl.java
   hivemind/library/src/images HiveMind-Library-Logo.psp
   hivemind/library/src/java/org/apache/commons/hivemind/lib
RemoteExceptionCoordinator.java
RemoteExceptionEvent.java
RemoteExceptionListener.java NameLookup.java
   hivemind/library .cvsignore project.xml project.properties
   hivemind/library/src/test/hivemind/test/lib SimpleHome.java
EJBProxy.xml SimpleRemote.java
TestRemoteExceptionCoordinator.java
TestEJBProxyFactory.java SimpleService.java
   hivemind/library/xdocs navigation.xml
   hivemind/library/xdocs/images HiveMind-Library-Logo.png
   hivemind/library/src/descriptor/META-INF hivemodule.xml
   hivemind/library/src/conf log4j.properties
  Removed: hivemind/framework/src/test/hivemind/test/services
SimpleHome.java SimpleRemote.java
ServicesTestSuite.java EJBProxy.xml
   hivemind/framework/src/test/hivemind/test/services/impl
FakeContext.java NameLookupHack.java
SimpleHomeImpl.java SimpleEJB.java
   hivemind/framework/src/java/org/apache/commons/hivemind/service
RemoteExceptionCoordinator.java
RemoteExceptionEvent.java
RemoteExceptionListener.java NameLookup.java
   hivemind/framework/src/test/hivemind/test HiveMindSuite.java
   hivemind/framework/src/test/hivemind/test/util
UtilSuite.java
   hivemind/framework/src/java/org/apache/commons/hivemind/service/impl
RemoteExceptionCoordinatorImpl.java
EJBProxyFactory.java EJBProxyParameters.java
NameLookupImpl.java AbstractEJBProxy.java
   hivemind/framework/src/test/hivemind/test/rules
RulesSuite.java
  Log:
  Split out the NameLookup, RemoteExceptionCoordinator and EJBProxyFactory services 
into a new module, hivemind.lib (standard library).
  
  Revision  ChangesPath
  1.3   +6 -104
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/TestServices.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/TestServices.java.diff?r1=1.2&r2=1.3
  
  
  1.2   +3 -3  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/Constructed.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/Constructed.java.diff?r1=1.1&r2=1.2
  
  
  1.3   +2 -2  
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/ServiceTranslator.xml
  
  
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/ServiceTranslator.xml.diff?r1=1.2&r2=1.3
  
  
  1.1  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/EJBProxyFactory.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl/EJBProxyFactory.java?rev=1.1
  
  
  1.1  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/comm

cvs commit: jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test/lib - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test/lib - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  
jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib/impl 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test/lib/impl - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/src/test/hivemind/test/lib/impl - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/test/hivemind - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/src/test/hivemind - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/xdocs - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/xdocs - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/xdocs/images - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/xdocs/images - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java/org - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/images - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/images - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/descriptor/META-INF - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/descriptor/META-INF - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/test - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:51

  jakarta-commons-sandbox/hivemind/library/src/test - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/descriptor - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/descriptor - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/conf - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/conf - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library/src/java/org/apache/commons/hivemind/lib - 
New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/library - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 15:10:50

  jakarta-commons-sandbox/hivemind/library - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/test - New directory

2003-09-19 Thread hlship
hlship  2003/09/19 11:25:14

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/test 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test TestRegistryBuilder.java

2003-09-18 Thread hlship
hlship  2003/09/18 13:08:59

  Modified:hivemind/xdocs bootstrap.xml
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMind.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
RegistryBuilder.java
   hivemind/framework/src/test/hivemind/test
TestRegistryBuilder.java
  Log:
  Move constructDefaultRegistry() from HiveMind to RegistryBuilder.
  Add a test for constructDefaultRegistry().
  
  Revision  ChangesPath
  1.5   +2 -2  jakarta-commons-sandbox/hivemind/xdocs/bootstrap.xml
  
  Index: bootstrap.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/xdocs/bootstrap.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- bootstrap.xml 18 Sep 2003 19:00:57 -  1.4
  +++ bootstrap.xml 18 Sep 2003 20:08:59 -  1.5
  @@ -157,7 +157,7 @@
   
   
   Alternately, the static method 
  -constructDefaultRegistry()
  can be invoked.  It's just those same four lines of code.
  +constructDefaultRegistry()
  can be invoked.  It's just those same four lines of code.
   
   
   
  
  
  
  1.3   +1 -21 
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/HiveMind.java
  
  Index: HiveMind.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/HiveMind.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HiveMind.java 18 Sep 2003 19:00:59 -  1.2
  +++ HiveMind.java 18 Sep 2003 20:08:59 -  1.3
  @@ -62,12 +62,9 @@
   import java.util.Collections;
   import java.util.Comparator;
   import java.util.List;
  -import java.util.Locale;
   import java.util.MissingResourceException;
   import java.util.ResourceBundle;
   
  -import org.apache.commons.hivemind.impl.DefaultClassResolver;
  -import org.apache.commons.hivemind.impl.RegistryBuilder;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   
  @@ -255,21 +252,4 @@
   return null;
   }
   
  -/**
  - * Constructs a default registry based on just the modules
  - * visible to the thread context class loader (this is sufficient
  - * is the majority of cases), and using the default locale. If you have 
different
  - * error handling needs, or wish to pick up HiveMind module deployment
  - * descriptors for non-standard locations, then you can
  - * use [EMAIL PROTECTED] RegistryBuilder} instead.
  - */
  -public static Registry constructDefaultRegistry()
  -{
  -ClassResolver resolver = new DefaultClassResolver();
  -RegistryBuilder builder = new RegistryBuilder();
  -
  -builder.processModules(resolver);
  -
  -return builder.constructRegistry(Locale.getDefault());
  -}
   }
  
  
  
  1.3   +19 -1 
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/RegistryBuilder.java
  
  Index: RegistryBuilder.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl/RegistryBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RegistryBuilder.java  18 Sep 2003 19:00:58 -  1.2
  +++ RegistryBuilder.java  18 Sep 2003 20:08:59 -  1.3
  @@ -735,4 +735,22 @@
   return c == null ? 0 : c.size();
   }
   
  +/**
  + * Constructs a default registry based on just the modules
  + * visible to the thread context class loader (this is sufficient
  + * is the majority of cases), and using the default locale. If you have 
different
  + * error handling needs, or wish to pick up HiveMind module deployment
  + * descriptors for non-standard locations, you must create
  + * a RegistryBuilder instance yourself.
  + */
  +public static Registry constructDefaultRegistry()
  +{
  +ClassResolver resolver = new DefaultClassResolver();
  +RegistryBuilder builder = new RegistryBuilder();
  +
  +builder.processModules(resolver);
  +
  +return builder.constructRegistry(Locale.getDefault());
  +}
  +
   }
  
  
  
  1.3   +34 -5 
jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/TestRegistryBuilder.java
  
  Index: TestRegistryBuilder.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/TestRegistryBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRegistryBuilder.java  18 Sep 200

cvs commit: jakarta-commons-sandbox/hivemind/framework/xdocs/ant ConstructRegistry.xml

2003-09-18 Thread hlship
hlship  2003/09/18 12:01:01

  Modified:hivemind/xdocs index.xml descriptor.xml navigation.xml
bootstrap.xml interceptors.xml case1.xml
multithreading.xml services.xml localization.xml
override.xml ioc.xml rules.xml
   hivemind/framework/src/test/hivemind/test/config
CustomRule.xml BadElement.xml Localized.xml
TestExtensionPoint.java NoSchema.xml
IntTranslator.xml ClassTranslator.xml Nested.xml
Simple.xml ResourceTranslator.xml
BooleanTranslator.xml TooMany.xml Symbols.xml
AttributeDefaults.xml TooFew.xml SetParent.xml
CustomRuleFailure.xml TranslatorClass.xml Empty.xml
Structured.xml BadAttributes.xml DupeSymbol.xml
   hivemind/framework/src/test/hivemind/test/rules
WrongType.xml TestInvokeParentRule.java
MockModule.java RulesSuite.java InvokeFailure.xml
DatumHolder.java TestClassTranslator.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
AbstractExtensionPoint.java RegistryBuilder.java
RegistryImpl.java ModuleImpl.java
ElementsProxyList.java SchemaProcessorImpl.java
   hivemind/common links.xml
   hivemind/framework/src/test/hivemind/test/parse
BadElement.xml MissingAttribute.xml SchemaRef.xml
TestDescriptorParser.java BadAttribute.xml
GenericModule.xml TestToString.java
   hivemind/framework/src/test/hivemind/test/services
ToString.xml BuilderAccessFailure.xml
StringHolder.xml AddSimpleInterceptors1.xml
ArrayResult.xml ComplexModule.xml TestLogging.xml
BuilderAccess.xml RecursiveService.xml EJBProxy.xml
InterceptorParameters.xml
AddSimpleInterceptors2.xml Initialize.xml
ServiceTranslator.xml Tracker.xml SimpleModule.xml
   hivemind/framework/src/xsl hivemind.xsl
   hivemind/framework/src/test-data/sample
org.example.toolbar.ui.xml org.example.boostrap.xml
   hivemind/framework/src/META-INF hivemodule.xml
   hivemind/framework/src/java/org/apache/commons/hivemind
HiveMindMessages.properties HiveMind.java
Module.java ExtensionPoint.java
ServiceExtensionPoint.java Registry.java
   hivemind/framework/src/test/hivemind/test TestMisc.java
TestRegistryBuilder.java
   hivemind/framework/src/test-data/TestRegistryBuilder/META-INF
hivemodule.xml
   hivemind/framework/src/test-data/TestConstructRegistry
testBasic.xml master.xml module.jar Symbols.xml
testUptoDate.xml LocalRefs.xml testLocalRefs.xml
testJars.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
ModuleDescriptor.java DescriptorParser.java
AbstractServiceDescriptor.java
   hivemind/framework/xdocs registry.xml
   hivemind/framework/src/java/org/apache/commons/hivemind/schema
SchemaProcessor.java
   hivemind/framework/src/java/org/apache/commons/hivemind/ant
ConstructRegistry.java
   hivemind/framework/src/test/hivemind/test/rules/impl
DatumHolderImpl.java
   hivemind/framework project.xml
   hivemind/framework/xdocs/images HiveMind-Framework-Logo.png
   hivemind/framework/xdocs/ant ConstructRegistry.xml
  Added:   hivemind/xdocs configurations.xml
   hivemind/framework/src/test/hivemind/test/rules
ConfigurationTranslator.xml
TestConfigurationTranslator.java
   hivemind/framework/src/java/org/apache/commons/hivemind/impl
ConfigurationPointImpl.java ConfigurationImpl.java
   hivemind/framework/src/java/org/apache/commons/hivemind
Configuration.java ConfigurationPoint.java
   hivemind/framework/src/java/org/apache/commons/hivemind/parse
ServicePointDescriptor.java
ImplementationDescriptor.java
ContributionDescriptor.java
ConfigurationPointDescriptor.java
   hivemind/framework/src/java/org/apache/commons/hivemind/schema/rules

cvs commit: jakarta-commons-sandbox/hivemind project.xml

2003-09-16 Thread hlship
hlship  2003/09/16 12:08:11

  Modified:hivemind/framework project.xml
   hivemind project.xml
  Log:
  Tweak SCM settings (to support developer and file activity reports).
  
  Revision  ChangesPath
  1.2   +10 -1 jakarta-commons-sandbox/hivemind/framework/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/framework/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml   16 Sep 2003 18:51:21 -  1.1
  +++ project.xml   16 Sep 2003 19:08:10 -  1.2
  @@ -21,6 +21,15 @@
 The HiveMind framework, including core HiveMind services.
 
   
  +  
  +
  +  scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons-sandbox/hivemind/framework
  +
  +
  +  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/framework/
  +
  +  
  +  
 
   

  
  
  
  1.22  +2 -2  jakarta-commons-sandbox/hivemind/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/hivemind/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml   16 Sep 2003 18:51:28 -  1.21
  +++ project.xml   16 Sep 2003 19:08:10 -  1.22
  @@ -43,7 +43,7 @@
 scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons-sandbox/hivemind
   
   
  -  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind
  +  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/hivemind/
   
 
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/xdocs/ant - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:07

  jakarta-commons-sandbox/hivemind/framework/xdocs/ant - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/config - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/xsl - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/xsl - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/xdocs - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/xdocs - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/ant - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/ant - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/impl - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/services/impl - 
New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/xdocs/images - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:07

  jakarta-commons-sandbox/hivemind/framework/xdocs/images - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test-data - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:05

  jakarta-commons-sandbox/hivemind/framework/src/test-data - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:04

  
jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/parse 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:03

  jakarta-commons-sandbox/hivemind/framework - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:06

  jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:04

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/impl 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:05

  jakarta-commons-sandbox/hivemind/framework/src/test - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:04

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache - New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ant - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:04

  jakarta-commons-sandbox/hivemind/framework/src/java/org/apache/commons/hivemind/ant 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test-data/TestRegistryBuilder/META-INF - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:05

  
jakarta-commons-sandbox/hivemind/framework/src/test-data/TestRegistryBuilder/META-INF 
- New directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test-data/TestRegistryBuilder - New directory

2003-09-16 Thread hlship
hlship  2003/09/16 11:50:05

  jakarta-commons-sandbox/hivemind/framework/src/test-data/TestRegistryBuilder - New 
directory

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   3   >