hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mittendorf <christian.mittend...@freenet.de>
Subject Re: How to access the Hivemind Registry ?
Date Thu, 09 Feb 2006 13:41:47 GMT
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: 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