Hi!
Aaron Mulder wrote:
> I'm pretty darn sure - the class implemented the interface so I
> know the methods were in both. I went crazy on this. Try it yourself
> (change get/setJDBCUser to get/setUserName). I figured it must be
> over-eager code somewhere to avoid including "getName" as a property since
> that should not be dynamic.
If you subclass ServiceMBeanSupport, then getName() is reserved for the
name of the service. But getUserName should definitely work...
/Rickard
>
> Aaron
>
> On Tue, 20 Jun 2000, Rickard [iso-8859-1] �berg wrote:
> > > Finally, for some odd reason, the property "UserName" wasn't saved
> > > until I changed it to "JDBCUser". Perhaps it ignores properties where
> > > endsWith("Name") is true or something? Weird.
> >
> > Are you sure you have your MBean interface match your MBean
> > implementation? That could be it. JMX uses the MBean interface to find
> > out what attributes are available to store.
> >
> > /Rickard
> >
> > --
> > Rickard �berg
> >
> > @home: +46 13 177937
> > Email: [EMAIL PROTECTED]
> > http://www.telkel.com
> > http://www.jboss.org
> > http://www.dreambean.com
> >
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com