109 OpenType<?> openType) { |
109 OpenType<?> openType) { |
110 this(name, description, openType, (Descriptor) null); |
110 this(name, description, openType, (Descriptor) null); |
111 } |
111 } |
112 |
112 |
113 /** |
113 /** |
114 * <p>Constructs an {@code OpenMBeanParameterInfoSupport} instance, |
114 * Constructs an {@code OpenMBeanParameterInfoSupport} instance, |
115 * which describes the parameter used in one or more operations or |
115 * which describes the parameter used in one or more operations or |
116 * constructors of a class of open MBeans, with the specified |
116 * constructors of a class of open MBeans, with the specified |
117 * {@code name}, {@code openType}, {@code description}, |
117 * {@code name}, {@code openType}, {@code description}, |
118 * and {@code descriptor}.</p> |
118 * and {@code descriptor}. |
119 * |
119 * |
120 * <p>The {@code descriptor} can contain entries that will define |
120 * <p>The {@code descriptor} can contain entries that will define |
121 * the values returned by certain methods of this class, as |
121 * the values returned by certain methods of this class, as |
122 * explained in the {@link <a href="package-summary.html#constraints"> |
122 * explained in the <a href="package-summary.html#constraints"> |
123 * package description</a>}. |
123 * package description</a>. |
124 * |
124 * |
125 * @param name cannot be a null or empty string. |
125 * @param name cannot be a null or empty string. |
126 * |
126 * |
127 * @param description cannot be a null or empty string. |
127 * @param description cannot be a null or empty string. |
128 * |
128 * |
132 * which is equivalent to an empty descriptor. |
132 * which is equivalent to an empty descriptor. |
133 * |
133 * |
134 * @throws IllegalArgumentException if {@code name} or {@code |
134 * @throws IllegalArgumentException if {@code name} or {@code |
135 * description} are null or empty string, or {@code openType} is |
135 * description} are null or empty string, or {@code openType} is |
136 * null, or the descriptor entries are invalid as described in the |
136 * null, or the descriptor entries are invalid as described in the |
137 * {@link <a href="package-summary.html#constraints">package |
137 * <a href="package-summary.html#constraints">package |
138 * description</a>}. |
138 * description</a>. |
139 * |
139 * |
140 * @since 1.6 |
140 * @since 1.6 |
141 */ |
141 */ |
142 public OpenMBeanParameterInfoSupport(String name, |
142 public OpenMBeanParameterInfoSupport(String name, |
143 String description, |
143 String description, |