|
From: Roger H. <ro...@fl...> - 2002-01-28 18:49:27
|
Hi Simon > Hi, > > so, the question has been closed in jmx-forum. Guess what ? > > It is a RI bug. > > The spec says you cannot invoke setManagedResource via management interface, > nor any other method belonging to the ModelMBean interface. > The examples in the RI are bad coded. > > Simon Many thanks for pursuing this - lets just see if I understand correctly? Unless the functionality of a Dynamic/ModelMBean is published via its MBeanInfo, it will not be accessible as part of the management interface via the mbean server? The functionality that is exposed via the MBeanInfo will not be accessible until the MBean has been successfully registered with the server. It would therefore, not be a good idea to try & expose any of the following ModelMBean methods via the MBeanInfo: - setModelMBeanInfo - setManagedResource - load - store Is that about it? Roger |