Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2963

Create utility DelegateMBean for aliases services locally/remotely

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • 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.

              starksm64 Scott Stark (Inactive)
              genman_jira Elias Ross (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: