Look at http://jakarta.apache.org/hivemind in the "Reference" section of
the left-menu.
the 'id' is the namespace prepending any service names in the module.
There is much more in my hivemodule than I included before. I access
them using "website.Xxx". For instance I have a "Members" service.
The 'Members' service is declared in the hivemodule using
<service-point id="Members" interface="com.elidoran.member.Members">
<create-instance class="com.elidoran.member.MembersService"/>
</service-point>
To inject it into a Tapestry page/component I use
<inject property="members" object="service:website.Members"/>
Next, the 'package' specifies the base package for classes you may use
in the hivemodule. You don't need to prefix them with the package,
"com.elidoran" in this case, but I do anyway.
~eli
Alan Chandler wrote:
On Saturday 30 July 2005 15:18, Eli Doran wrote:
<module version="1.0.0" id="website" package="com.elidoran">
I have a follow up question, and in essence its an extension of my original.
What does this line do - or more importantly - where can I find some
documentation that describes this particular xml tag for the hivemodule.xml
file.
In particular - the reference to com.elidoran , is your own package. So whats
in it and why.