hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject RE: How to access the Hivemind Registry ?
Date Thu, 09 Feb 2006 13:23:53 GMT
What version of Tapestry are you using?  If it's 4.0+, you can have Tapestry
inject HiveMind objects into your page/components automatically.  You can
use the @InjectObject annotation.

-----Original Message-----
From: Christian Mittendorf [mailto:christian.mittendorf@freenet.de] 
Sent: Thursday, February 09, 2006 8:20 AM
To: hivemind-user@jakarta.apache.org
Subject: How to access the Hivemind Registry ?

Hello!

I'm searching for a way to access HiveMind services from within  
simple objects. These objects live in different threads (a Tapestry  
Servlet), therefore using RegistryBuilder won't be a good idea (not  
threadsafe). However, the docs say:

Runtime methods, such as ModuleImpl.getService(String, Class)  are  
fully threadsafe.

How do I use ModuleImpl? Can anybody hint me on an example?

Christian





---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message