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.
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>
<annotations>
<annotation key="web-service" value="true"/>
<annotation key="url" value="/appxx/test"/>
</annotations>
<invoke-factory>
....
</invoke-factory>
</service-point>
....
</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.
module==null retrieving all service points.
Stefan