|
From: Carlos Q. <car...@we...> - 2002-01-30 21:51:27
|
Hi all I just added what I believe is a crucial feature of the HttpAdaptor. Now the default MBean view will lead you to a page where you can query the constructors of a given class. As an answer you will get the class' constructors and you can create MBeans. Please give it a try. Some things open: First: How to handle classloaders? Should the classloader be a MBean? I guess so since the createMBean and instantiate methods allow only an ObjectName as loaderName. If so, how can you create a ClassLoader which is MBean and has ObjectName? AFAIK there is no such MBean, please correct me if I'm wrong. Should we create one in none is available? Second question: What's the best way to do this. Do a createMBean (current option) or do a instantiate and then a registerMBean Regards Carlos Quiroz |