Christian - if you are already in a service you shouldn't need the registry itself. You should be able to inject either via autowiring or via set-service any services you need.
Thanks
Ben
On 2/9/06, Christian Mittendorf <[EMAIL PROTECTED]> wrote:
One more idea, which might help me with my problem:
Is there a way to simply inject a reference to the Registry into
another Service?
Christian
Am 09.02.2006 um 14:20 schrieb Christian Mittendorf:
> 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]
