hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugo Palma <hugo.m.pa...@gmail.com>
Subject Re: JNDI Name Lookup?
Date Mon, 22 May 2006 18:01:31 GMT
I think you're better of using an ObjectProvider for the job. Look here 
for more information on this.
http://jakarta.apache.org/hivemind/hivemind/ObjectProviders.html

All you have to do is implement an ObjectProvider that fetches the 
object from the JNDI tree and configure it in your hivemodule.xml file 
with a prefix. Then you can use the prefix to reference your 
JndiObjectProvider to get the desired objects.

Hope this helps. I have something like this implemented somewhere. I 
should probably add this to a SVN repo.

Aleksej wrote:
> I need to lookup DataSource by it JNDI name.
> How can I do it with Hivemind?
> As I understand, I need to use hivemind.lib.NameLookup
> service for it, but I did'nt get how. Any help?
>
> ---------------------------------------------------------------------
> 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