Also maybe the @org.jboss.aop.microcontainer.aspects.jndi.JndiBinding
annotation might do this another way?
Either way it would be nicer if you could do:
<jndi-binding bean="TheBean" name="the/name/in/JNDI"/>
or something like that.
On 03/25/2010 01:12 PM, Ron Sigal wrote:
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
>
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development