-
1. Re: Exposing management operations
bytor99999 Aug 2, 2007 11:39 AM (in response to starksm64)Not that I have any brilliant ideas (I steal them anyway), but it seems you need.
1. The definition of the Operations by what type of managed object it is, this will need to be referenced by the Managed Object Type. This is going to be needed to define not only the operation name, but also if it takes any parameters, and also if it returns any values.
2. So the actual Managed Object instance will have a reference to the Managed Object Type to get to the definitions.
I can easily be overlooking something here.
Wouldn't the Managed Object have the mbean name, so if there was say one method that invokes any operation, you pass the operation definition and the Managed object (with the MBean Name) to that method that would fire it off. Is there any other pieces of information that would also be needed? -
2. Re: Exposing management operations
starksm64 Aug 2, 2007 12:33 PM (in response to starksm64)This in addition to the other issue of resolving properties that reference other ManagedObjects seems to need a registry for both name and operation resolution as these are related to runtime components rather than static metadata structures.