-
Enhancement
-
Resolution: Fixed
-
P5
-
1.2.0
-
b43
-
generic
-
generic
Rasmus Lund wrote:
> What about providing extra info on attributes and operations telling if they
> are enabled at the moment?
>
> E.g. imagine a MBean with the following:
>
> * Attribute: enablePooling (boolean)
> * Attribute: poolSize (int)
> * Attribute: debug (boolean)
> * Attribute: debugLevel (int)
> * Operation: refreshPool
>
> Now. If enablePooling is set to false, I would someone reading
> poolSizeAttribute.isEnabled and refreshPoolOperation.isEnables to get false
> as return value. Likewise if debug is set to false, they should read
> debugLevelAttribute.isEabled to false.
>
> This would make the automatic generation of user interfaces based on
> MBean-meta-info a lot easier.
> What about providing extra info on attributes and operations telling if they
> are enabled at the moment?
>
> E.g. imagine a MBean with the following:
>
> * Attribute: enablePooling (boolean)
> * Attribute: poolSize (int)
> * Attribute: debug (boolean)
> * Attribute: debugLevel (int)
> * Operation: refreshPool
>
> Now. If enablePooling is set to false, I would someone reading
> poolSizeAttribute.isEnabled and refreshPoolOperation.isEnables to get false
> as return value. Likewise if debug is set to false, they should read
> debugLevelAttribute.isEabled to false.
>
> This would make the automatic generation of user interfaces based on
> MBean-meta-info a lot easier.
- relates to
-
JDK-6204469 Add Descriptor support to all types of MBean
-
- Resolved
-
-
JDK-6196560 Move Descriptor support from ModelMBean*Info to MBean*Info
-
- Closed
-
-
JDK-5072268 Suggested API changes for JMX 2.0
-
- Closed
-