Am 09.02.2006 um 14:23 schrieb James Carman:
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.
It's Tapetry 4.0+, but the Object where I want to use some Services
is neither
a Page nor a Component. It's a simple, old-style :-) Object. Is there
a way to
inject a service into it?
Christian
-----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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]