jdk/src/share/classes/javax/management/MBeanServerConnection.java
changeset 1517 4ca99a6fc74e
parent 1247 b4c26443dee5
child 1571 421ef5172dd3
equal deleted inserted replaced
1516:822b21150a7b 1517:4ca99a6fc74e
    74      * under the control of the MBean server.
    74      * under the control of the MBean server.
    75      * @exception MBeanRegistrationException The
    75      * @exception MBeanRegistrationException The
    76      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
    76      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
    77      * interface) method of the MBean has thrown an exception. The
    77      * interface) method of the MBean has thrown an exception. The
    78      * MBean will not be registered.
    78      * MBean will not be registered.
    79      * @exception RuntimeMBeanException If the <CODE>postRegister</CODE>
    79      * @exception RuntimeMBeanException If the MBean's constructor or its
       
    80      * {@code preRegister} or {@code postRegister} method threw
       
    81      * a {@code RuntimeException}. If the <CODE>postRegister</CODE>
    80      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
    82      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
    81      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
    83      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
    82      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
    84      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
    83      * and registration succeeded. In such a case, the MBean will be actually
    85      * and registration succeeded. In such a case, the MBean will be actually
    84      * registered even though the <CODE>createMBean</CODE> method
    86      * registered even though the <CODE>createMBean</CODE> method
   146      * under the control of the MBean server.
   148      * under the control of the MBean server.
   147      * @exception MBeanRegistrationException The
   149      * @exception MBeanRegistrationException The
   148      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   150      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   149      * interface) method of the MBean has thrown an exception. The
   151      * interface) method of the MBean has thrown an exception. The
   150      * MBean will not be registered.
   152      * MBean will not be registered.
   151      * @exception RuntimeMBeanException If the <CODE>postRegister</CODE>
   153      * @exception RuntimeMBeanException If the MBean's constructor or its
       
   154      * {@code preRegister} or {@code postRegister} method threw
       
   155      * a {@code RuntimeException}. If the <CODE>postRegister</CODE>
   152      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   156      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   153      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   157      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   154      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   158      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   155      * and registration succeeded. In such a case, the MBean will be actually
   159      * and registration succeeded. In such a case, the MBean will be actually
   156      * registered even though the <CODE>createMBean</CODE> method
   160      * registered even though the <CODE>createMBean</CODE> method
   221      * under the control of the MBean server.
   225      * under the control of the MBean server.
   222      * @exception MBeanRegistrationException The
   226      * @exception MBeanRegistrationException The
   223      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   227      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   224      * interface) method of the MBean has thrown an exception. The
   228      * interface) method of the MBean has thrown an exception. The
   225      * MBean will not be registered.
   229      * MBean will not be registered.
   226      * @exception RuntimeMBeanException If the <CODE>postRegister</CODE>
   230      * @exception RuntimeMBeanException If the MBean's constructor or its
       
   231      * {@code preRegister} or {@code postRegister} method threw
       
   232      * a {@code RuntimeException}. If the <CODE>postRegister</CODE>
   227      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   233      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   228      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   234      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   229      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   235      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   230      * and registration succeeded. In such a case, the MBean will be actually
   236      * and registration succeeded. In such a case, the MBean will be actually
   231      * registered even though the <CODE>createMBean</CODE> method
   237      * registered even though the <CODE>createMBean</CODE> method
   293      * under the control of the MBean server.
   299      * under the control of the MBean server.
   294      * @exception MBeanRegistrationException The
   300      * @exception MBeanRegistrationException The
   295      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   301      * <CODE>preRegister</CODE> (<CODE>MBeanRegistration</CODE>
   296      * interface) method of the MBean has thrown an exception. The
   302      * interface) method of the MBean has thrown an exception. The
   297      * MBean will not be registered.
   303      * MBean will not be registered.
   298      * @exception RuntimeMBeanException If the <CODE>postRegister</CODE>
   304      * @exception RuntimeMBeanException The MBean's constructor or its
       
   305      * {@code preRegister} or {@code postRegister} method threw
       
   306      * a {@code RuntimeException}. If the <CODE>postRegister</CODE>
   299      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   307      * (<CODE>MBeanRegistration</CODE> interface) method of the MBean throws a
   300      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   308      * <CODE>RuntimeException</CODE>, the <CODE>createMBean</CODE> method will
   301      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   309      * throw a <CODE>RuntimeMBeanException</CODE>, although the MBean creation
   302      * and registration succeeded. In such a case, the MBean will be actually
   310      * and registration succeeded. In such a case, the MBean will be actually
   303      * registered even though the <CODE>createMBean</CODE> method
   311      * registered even though the <CODE>createMBean</CODE> method