jdk/src/java.management/share/classes/javax/management/StandardEmitterMBean.java
changeset 29927 9cc3e111a1d8
parent 25859 3317bb8137f4
equal deleted inserted replaced
29926:2eceae3716d9 29927:9cc3e111a1d8
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    89      * getNotificationInfo()} at the time of construction.  If the array
    89      * getNotificationInfo()} at the time of construction.  If the array
    90      * returned by {@code emitter.getNotificationInfo()} later changes,
    90      * returned by {@code emitter.getNotificationInfo()} later changes,
    91      * that will have no effect on this object's
    91      * that will have no effect on this object's
    92      * {@code getNotificationInfo()}.</p>
    92      * {@code getNotificationInfo()}.</p>
    93      *
    93      *
       
    94      * @param <T> the implementation type of the MBean
    94      * @param implementation the implementation of the MBean interface.
    95      * @param implementation the implementation of the MBean interface.
    95      * @param mbeanInterface a Standard MBean interface.
    96      * @param mbeanInterface a Standard MBean interface.
    96      * @param emitter the object that will handle notifications.
    97      * @param emitter the object that will handle notifications.
    97      *
    98      *
    98      * @throws IllegalArgumentException if the {@code mbeanInterface}
    99      * @throws IllegalArgumentException if the {@code mbeanInterface}
   127      * getNotificationInfo()} at the time of construction.  If the array
   128      * getNotificationInfo()} at the time of construction.  If the array
   128      * returned by {@code emitter.getNotificationInfo()} later changes,
   129      * returned by {@code emitter.getNotificationInfo()} later changes,
   129      * that will have no effect on this object's
   130      * that will have no effect on this object's
   130      * {@code getNotificationInfo()}.</p>
   131      * {@code getNotificationInfo()}.</p>
   131      *
   132      *
       
   133      * @param <T> the implementation type of the MBean
   132      * @param implementation the implementation of the MBean interface.
   134      * @param implementation the implementation of the MBean interface.
   133      * @param mbeanInterface a Standard MBean interface.
   135      * @param mbeanInterface a Standard MBean interface.
   134      * @param isMXBean If true, the {@code mbeanInterface} parameter
   136      * @param isMXBean If true, the {@code mbeanInterface} parameter
   135      * names an MXBean interface and the resultant MBean is an MXBean.
   137      * names an MXBean interface and the resultant MBean is an MXBean.
   136      * @param emitter the object that will handle notifications.
   138      * @param emitter the object that will handle notifications.