What I mean is to have a possibility to enrich the existing
descriptions with informations that are of no particular
interest to the HiveMind core. Of cause, this should be 
independent on how to accomplish that (XML, Java annotations, ..).
However, the interface (Registry, ..) should hide that.
 
I browsed a bit thru HiveMind´s code and found already 
something which could help me. There are already annotations
within HM, the AnnotationHolder interface. Unfortunatelly, 
they are only used for the generation of HiveDoc. If those
annotations would be stored within the desriptors 
(e.g. ServicePoint), it could be used  similar to the old 
way of annotating with JavaDoc tags.
 

________________________________

Von: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Gesendet: Fr 27.01.2006 17:01
An: hivemind-dev@jakarta.apache.org
Betreff: Re: Annotations in hivemodule.xml



Interesting; I've been thinking in terms of annotations on either the
service interface, or on the service implementation, not in the XML.
I'm hoping to move the focus in HiveMind back to the Java code, just
as we have done in Tapestry (using annotations instead of XML).

On 1/26/06, Liebig, Stefan <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I would like to have the possibility to annotate HiveMind constructs similar
> to
> annotating Java constructs. Additionly it would be necessary to enumerate
> all
> available (visibel) sertvice points.
> With that I would have my special Hessian servlet which collects all as
> ´web-service´
> annotated services and would make them available under the specified url.
> With that
> the web.xml would only contain the Hessian servlet performing the proper
> delegation.
> E.g.:
>
>  <service-point id="Test" interface="de.test.Test">
>   <annotations>
>    <annotation key="web-service" value="true"/>
>    <annotation key="url" value="/appxx/test"/>
>   </annotations>
>
>   <invoke-factory>
>    ....
>   </invoke-factory>
>  </service-point>
>
> Within ServicePoint the annotations could be represented as a
> Map/Properties.
> And the Infrastructure could have a getServicePoints( Module module ) with
> module==null retrieving all service points.
>
> Stefan
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



<<winmail.dat>>

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

Reply via email to