users@glassfish.java.net

How to view and configure Custom MBean in glassfish v3?

From: <glassfish_at_javadesktop.org>
Date: Sun, 18 Jul 2010 05:45:56 PDT

I have already registered my Standard MBean to the MBean Server, and also through JConsole to view it.
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
mbs.registerMBean( , );
But how can I see it in glassfish v3 admin panel and direct configure it? should i first set the JMXConnection or to use glassfish annotations like @ManagedObject? or configuration something in domain.xml?
Please give me an order and some sample code.

Thanks.
[Message sent by forum member 'mcafem']

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