users@glassfish.java.net

MBeanServerConnection

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Apr 2008 15:34:01 PDT

I am reading this link: https://glassfish.dev.java.net/javaee5/amx/docs/amx.html
about halfway down the page, it says i may do this:
final MBeanServerConnection conn =
Util.getExtra( amx ).getConnectionSource().getMBeanServerConnection();

i do not have a "getExtra()" method - using v2-b58g.

is it possible/acceptable to get a handle to the MBeanServerConnection from within an EJB?

i want to get MBean notifications, operation and attributes from other JVMs (the other JVMs are running JBI implementations)

i would then like to create web pages to interact with this EJB.

is there a better way?
[Message sent by forum member 'araymartin' (araymartin)]

http://forums.java.net/jive/thread.jspa?messageID=272323