jdk/src/share/classes/javax/management/MXBean.java
changeset 1004 5ba8217eb504
parent 834 dc74d4ddc28e
child 1011 2cc4873fa29f
equal deleted inserted replaced
1003:b2f6b7e00c29 1004:5ba8217eb504
    31 import java.lang.annotation.Retention;
    31 import java.lang.annotation.Retention;
    32 import java.lang.annotation.RetentionPolicy;
    32 import java.lang.annotation.RetentionPolicy;
    33 import java.lang.annotation.Target;
    33 import java.lang.annotation.Target;
    34 
    34 
    35 // remaining imports are for Javadoc
    35 // remaining imports are for Javadoc
    36 import java.beans.ConstructorProperties;
       
    37 import java.io.InvalidObjectException;
    36 import java.io.InvalidObjectException;
    38 import java.lang.management.MemoryUsage;
    37 import java.lang.management.MemoryUsage;
    39 import java.lang.reflect.UndeclaredThrowableException;
    38 import java.lang.reflect.UndeclaredThrowableException;
    40 import java.util.Arrays;
    39 import java.util.Arrays;
    41 import java.util.List;
    40 import java.util.List;
   863         {@code public static }<em>J </em>{@code from(CompositeData cd)}<br>
   862         {@code public static }<em>J </em>{@code from(CompositeData cd)}<br>
   864         then that method is called to reconstruct an instance of
   863         then that method is called to reconstruct an instance of
   865         <em>J</em>.</p></li>
   864         <em>J</em>.</p></li>
   866 
   865 
   867       <li><p>Otherwise, if <em>J</em> has at least one public
   866       <li><p>Otherwise, if <em>J</em> has at least one public
   868         constructor with a {@link ConstructorProperties} annotation, then one
   867         constructor with a {@link java.beans.ConstructorProperties
       
   868         ConstructorProperties} annotation, then one
   869         of those constructors (not necessarily always the same one)
   869         of those constructors (not necessarily always the same one)
   870         will be called to reconstruct an instance of <em>J</em>.
   870         will be called to reconstruct an instance of <em>J</em>.
   871         Every such annotation must list as many strings as the
   871         Every such annotation must list as many strings as the
   872         constructor has parameters; each string must name a property
   872         constructor has parameters; each string must name a property
   873         corresponding to a getter of <em>J</em>; and the type of this
   873         corresponding to a getter of <em>J</em>; and the type of this