Ok I guess I'm a little SLOW
The interface needs to be named: blahMBean
The implementation MUST be named : blah
Now it works.
Sorry for taking up so much space in this forum :-)
For anyone who iis interested here is the working code.
public interface EmailConfigFormMonMBean {
publ
I'll write that again, if you class is called Z the interface must be called
ZMBean
So, just change the name of you implementation class to:
EmailConfigForm
in order to agree with interface name EmailConfigFormMBean
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewt
I just looked at the MBeanCapability.java file where the exception is being
thrown. The strange thing is that it thinks the mbeanClass is java.lang.Object.
What's up with that??
Do I need to do a class cast in the register call or something like that?
Thanx
Warren
View the original post :
ht
H
It doesn't seem to matter what the name of the implementation class is I always
get the same error. I've changed the name of the impl class to
EmailConfigFormMBean
EmailConfigFormBllahImpl
I always throws the NonCompliantMBeanException
The interface does follow the standard mbean
When you implement StandardMBeans, the exposed MBean interface for a class Z
must follow the pattern ZMBean.
Just change the name of you implementation class to:
EmailConfigForm
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857147#3857147
Reply to the post