2 Replies Latest reply on Oct 28, 2003 2:59 AM by srivatsanp

    Returning primitive values from methods when using XMbeans

    srivatsanp

      Hi,

      Can we have a primite type as a return type of a method when we use XMBeans.

      Say I am having an operation isXYZ() in my MBean service.When writing the XMBean descriptor, I am specifying the following descriptor:
      <return-type>java.lang.Boolean</return-type>

      How can I return a primitive boolean value?

      Thanks,
      Srivatsan. P