jboss-as-testsuite/src/main/org/jboss/test/naming/restart/ObjectBinder.java
binds a particular kind of object into jndi. See
jboss-as-testsuite/src/resources/naming/restart/naming-restart-jboss-beans.xml:
<bean name="RestartObjectBinder"
class="org.jboss.test.naming.restart.ObjectBinder">
<property name="namingService"><inject
bean="RestartNamingService"/></property>
</bean>
It could be generalized.
-Ron
Scott Marlow wrote:
I'm working on adding a remote JMXConnector to AS trunk via a
new
jmx-jboss-beans.xml (see
http://pastebin.com/JjsiRrh9). I would like to
bind a string representation of the JMX service URL to JNDI. Any
pointers to doing the bind (from a jboss-beans.xml) are welcome.
If not, I will hack through it but wanted to check first. :)
Thanks,
Scott
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development