1 Reply Latest reply on Aug 13, 2003 8:08 AM by adrian.brock

    How can a ManagedConnectionFactory find out its ObjectName

    kiwihughes

      I've been looking through the JBoss code for a bit and could not find the answer. I've looked at the object APIs, and could not figure it out. I'd like to do it in a non-JBoss specific manner, if possible.

      Any suggestions, please?

      Thanks,

      Greg.

        • 1. Re: How can a ManagedConnectionFactory find out its ObjectNa

          There is no portable way to do this, MCFs aren't
          necessarily controlled by JMX.

          There is a "standard name" in the JSR77 namespace,
          that looks like a JMX object name but this isn't
          necessarily a JMX mbean and in jboss it isn't the same
          MBean as the real deployment.

          It will probably take at least until j2ee1.5 before JMX
          is standardized. I doubt it will specified down to
          level you want.

          Regards,
          Adrian