-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b40
-
generic
-
generic
-
Verified
Javadoc of ModelMBeanInfoSupport.getMBeanDescriptor() defines the field 'export=F' as part of the default descriptor.
Extract:
[...]
The default descriptor is: name=mbeanName,descriptorType=mbean, displayName=this.getClassName(), persistPolicy=never,log=F,export=F,visibility=1 If the descriptor does not contain all these fields, they will be added with these default values.
[...]
But the constructor javadoc for that class defines a default descriptor where field 'export' is gone.
Extract:
[...]
mbeandescriptor - descriptor to be used as the MBeanDescriptor containing MBean wide policy. If the descriptor is null, a default descriptor will be constructed. The default descriptor is: name=className, descriptorType=mbean, displayName=className, persistPolicy=never, log=F, visibility=1. If the descriptor does not contain all these fields, they will be added with these default values.
[...]
The current implementation does not enforce the use of field 'export'.
###@###.### 2005-04-08 15:34:13 GMT
Extract:
[...]
The default descriptor is: name=mbeanName,descriptorType=mbean, displayName=this.getClassName(), persistPolicy=never,log=F,export=F,visibility=1 If the descriptor does not contain all these fields, they will be added with these default values.
[...]
But the constructor javadoc for that class defines a default descriptor where field 'export' is gone.
Extract:
[...]
mbeandescriptor - descriptor to be used as the MBeanDescriptor containing MBean wide policy. If the descriptor is null, a default descriptor will be constructed. The default descriptor is: name=className, descriptorType=mbean, displayName=className, persistPolicy=never, log=F, visibility=1. If the descriptor does not contain all these fields, they will be added with these default values.
[...]
The current implementation does not enforce the use of field 'export'.
###@###.### 2005-04-08 15:34:13 GMT