EVALUATION
In practice it appears that most cases where this might be useful are better addressed by javax.management.StandardMBean. Although if you do need to code a DynamicMBean, you often end up coding getAttributes in terms of getAttribute and setAttributes in terms of setAttribute, people don't often code DynamicMBeans so an abstract class would probably not pull its weight.
|
EVALUATION
The hardest part here is getting the specification right, striking a balance between simplicity and ease of use on the one hand, and expressive power on the other. Functionality in the base class should be justified by realistic examples of when it is useful.
###@###.### 2004-09-29
|