I would like to enable JMX on my Grizzly Webserver. How can I do it ?
I found following information on some other threads on this forum - But I
can not find the Management class. Can somebody please point me where it is
present(under which package) and How can I configure the JMX port or what is
the default port ?
server.enableJMX(new Management() {
public void registerComponent(Object bean, ObjectName oname, String
type)
throws Exception {
Registry.getRegistry().registerComponent(bean, oname, type);
}
public void unregisterComponent(ObjectName oname) throws Exception {
Registry.getRegistry().unregisterComponent(oname);
}
});
--
View this message in context: http://grizzly.1045725.n5.nabble.com/How-to-Enable-JMX-tp4282104p4282104.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.