Well, HiveMind does support "bean" services, but they're not recommended
really (at least not by me).  Interface-based services are preferred.
Anyway, if you have to use a bean, all you have to do is use the bean class
as the interface when defining your service.  You can set your "parameters"
by autowiring (if they're supposed to be references to other HiveMind
services) or using XML inside the hivemodule.xml file.  If you're using
tapestry-autowire (or Tap4.1), then all you have to do is declare an
abstract getter of the same type as your bean class and Tapestry will
automatically look it up for you.

-----Original Message-----
From: Epstein, Ezra [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 11, 2006 3:12 PM
To: Tapestry users
Subject: General HiveMind questions

So I've got an object I want to make available to a Tapestry page and I want
to use HiveMind to do this.  What are the steps one takes?

More specifically: the object does *not* implement an interface; the object
has parameters (set via mutator methods).

(Maybe should be posted on the HiveMind lists) 

Thanks, 

Ezra Epstein 

---------------------------------------------------------------------
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]

Reply via email to