-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
I wanted to create a delegate, mainly for managing remote services locally.
I heard you wanted some sort of alias support for local services.
Please review.
In your jboss-service.xml, you would write:
<mbean name="proxy:type=x" class="org.jboss.mx.util.DelegateMBean">
<constructor><arg value="jboss.system:type=Server"/></constructor>
<depends>jboss.system:type=Server</depends>
</mbean>
Maybe there should be a more compact way to represent this? Maybe:
<delegate name="proxy:type=x" for="jboss.system:type=Server"/>
It would be also nice to specify the MBeanServerConnection somehow, e.g. by JNDI name:
<delegate name="proxy:type=x" for="jboss.system:type=Server"
jndi-mbean-server-connection="/someserver/jndi/rmiadaptor">
Another thought I had would be to add a PropertyEditor for MBeanServer, so you could make the agentID <-> MBeanServer conversion.