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:[EMAIL PROTECTED] 
Sent: Thursday, February 09, 2006 8:20 AM
To: [email protected]
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: [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