changeset 13:10256bd4afcd

6607114: Make JMXServiceURL reconstructible in MXBeans Summary: Add @ConstructorProperties tag to JMXServiceURL Reviewed-by: dfuchs
author emcmanus
date Mon, 03 Mar 2008 15:28:40 +0100
parents 41d9c673dd9d
children 613f2c906b9d
files src/share/classes/javax/management/remote/JMXServiceURL.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
      * 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 {