This content has been marked as final.
Show 1 reply
-
1. Re: setManagedResource prior to setModelMBeanInfo
juha Mar 4, 2002 1:41 PM (in response to squirest)I don't think it is at all clear that that part of the spec dictates the order at which these two methods must be called. The only clear requirement I can get from the spec is that both the resource reference and the MBean metadata must be set before the MBean is registered to the server.
Since it is not explicit in the spec, I think it would be a mistake from a code portability point of view to enforce any order in this case.
-- Juha