6607114: Make JMXServiceURL reconstructible in MXBeans
authoremcmanus
Mon Mar 03 15:28:40 2008 +0100 (2 years ago)
changeset 1310256bd4afcd
parent 1141d9c673dd9d
child 14613f2c906b9d
6607114: Make JMXServiceURL reconstructible in MXBeans
Summary: Add @ConstructorProperties tag to JMXServiceURL
Reviewed-by: dfuchs
src/share/classes/javax/management/remote/JMXServiceURL.java
--- a/src/share/classes/javax/management/remote/JMXServiceURL.java Mon Mar 03 10:32:38 2008 +0100
+++ b/src/share/classes/javax/management/remote/JMXServiceURL.java Mon Mar 03 15:28:40 2008 +0100
@@ -274,6 +274,7 @@ public class JMXServiceURL implements Se
* is not possible to find the local host name, or if
* <code>port</code> is negative.
*/
+ @ConstructorProperties({"protocol", "host", "port", "URLPath"})
public JMXServiceURL(String protocol, String host, int port,
String urlPath)
throws MalformedURLException {