dev@glassfish.java.net

MBean operation not supported

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Fri, 19 Jan 2007 10:50:16 -0800

Hi guys,

Do you know why some MBeans operations are "not supported"?

I do see the method available in MBeanInfo and MBeanOperationInfo and
the method is public and available through mbean descriptor.

However, when I view the MBean through HTML Adaptor I do see the method
listed but it also says "(Operation Not Supported)"

After looking at various MBeans, it seems that methods that take any
parameters other than Object or String says "Operation Not Supported",
perhaps serialization issue(?).

Is there a way to use these "available" methods without getting
"ReflectionException" when invoked?

Thanks,
Amy