0 Replies Latest reply on Oct 29, 2004 8:34 PM by starksm64

    More interaction with the kernel for pojos

    starksm64

      Currently when the resource of an XMBean is set, there is a reflective check to see if the resource supports a setMBeanInfo(MBeanInfo) method to allow it access to the ModelMBeanInfo instance. We have discussed exposing more injection points in the 5.0 kernel, but I would like to expand the existing 1.2 XMBean descriptor in 4.0 to allow for additional injection points described via a new injection element that specifies the mapping from the injection point type to resource setter method:

      <xmbean>
      ...
       <injection id="MBeanServer" method="setMBeanServer" />
       <injection id="MBeanInfo" method="setMBeanInfo" />
       <injection id="ObjectName" method="setObjectName" />
      </xmbean>