[jboss-user] [JNDI and Naming] - Re: JNDI ObjectFactory - run-time registration

2009-09-28 Thread olegpv
OK, everything turned out to be simple, as always... Method bind(String name, Object object) of javax.naming.Context can accept objects of type javax.naming.Reference as well, so this API enables the following code for binding ObjectFactory implementation to JNDI names: Reference ref = new

[jboss-user] [JNDI and Naming] - JNDI ObjectFactory - run-time registration

2009-09-27 Thread olegpv
Hello, Is there a possibility to register some new custom JNDI resources (via custom ObjectFactory implementations) at run-time? I mean the following: 1) Here is an article about the standard approach for registering new JNDI resources for JBoss Web: