"jmesnil" wrote :
| Is it possible to do that?
|
Sure it is.
Hashtable is just the name of the class for what MC knows.
OK, the trick is still to get those entries in. ;-)
| <bean name="JNDI" class="java.util.Hashtable">
| <install method="put">
| <parameter>java.naming.provider.url</parameter>
| <parameter>jnp://localhost:1099</parameter>
| </install>
| </bean>
|
or
| <bean name="JNDI" class="java.util.Hashtable">
| <constructor class="java.util.Map">
| <map class="java.util.Hashtable"
keyClass="java.lang.String" valueClass="java.lang.String">
| <entry>
<key>java.naming.factory.initial</key>
<value>org.jnp.interfaces.NamingContextFactory</value>
| </entry>
| <entry>
| <key>java.naming.provider.url</key>
| <value>jnp://localhost:1099</value>
| </entry>
| <entry>
| <key>java.naming.factory.url.pkgs</key>
|
<value>org.jboss.naming:org.jnp.interfaces"</value>
| </entry>
| </map>
| </constructor>
| </bean>
|
"jmesnil" wrote :
| Where can I find an example/doc about that?
|
There is no such (exact) example.
Unless you expect us to cover every bean possible. :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226600#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...