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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]