jdk/src/share/classes/javax/management/modelmbean/ModelMBeanConstructorInfo.java
changeset 1510 e747d3193ef2
parent 715 f16baef3a20e
child 1513 d09513aaa9da
equal deleted inserted replaced
1509:89e3d8869c94 1510:e747d3193ef2
   150         * @param description A human readable description of the constructor.
   150         * @param description A human readable description of the constructor.
   151         * @param constructorMethod The java.lang.reflect.Constructor object
   151         * @param constructorMethod The java.lang.reflect.Constructor object
   152         * describing the MBean constructor.
   152         * describing the MBean constructor.
   153         */
   153         */
   154         public ModelMBeanConstructorInfo(String description,
   154         public ModelMBeanConstructorInfo(String description,
   155                                          Constructor constructorMethod)
   155                                          Constructor<?> constructorMethod)
   156     {
   156     {
   157                 super(description, constructorMethod);
   157                 super(description, constructorMethod);
   158                 if (MODELMBEAN_LOGGER.isLoggable(Level.FINER)) {
   158                 if (MODELMBEAN_LOGGER.isLoggable(Level.FINER)) {
   159                     MODELMBEAN_LOGGER.logp(Level.FINER,
   159                     MODELMBEAN_LOGGER.logp(Level.FINER,
   160                             ModelMBeanConstructorInfo.class.getName(),
   160                             ModelMBeanConstructorInfo.class.getName(),
   192         * but not equal to "operation" or descriptor field "role" is
   192         * but not equal to "operation" or descriptor field "role" is
   193         * present but not equal to "constructor".
   193         * present but not equal to "constructor".
   194         */
   194         */
   195 
   195 
   196         public ModelMBeanConstructorInfo(String description,
   196         public ModelMBeanConstructorInfo(String description,
   197                                          Constructor constructorMethod,
   197                                          Constructor<?> constructorMethod,
   198                                          Descriptor descriptor)
   198                                          Descriptor descriptor)
   199         {
   199         {
   200 
   200 
   201                 super(description, constructorMethod);
   201                 super(description, constructorMethod);
   202                 // put getter and setter methods in constructors list
   202                 // put getter and setter methods in constructors list