Package org.glassfish.gmbal

Examples of org.glassfish.gmbal.ParameterNames


      return rtc.toManagedEntity(result);
        }
    }
      };

      final ParameterNames pna = mom.getAnnotation( m.element(),
                ParameterNames.class);
      mm.info( mom.registrationFineDebug(), "pna", pna);

      if (pna != null && pna.value().length != atcs.size()) {
        throw Exceptions.self.parameterNamesLengthBad();
      }

      final MBeanParameterInfo[] paramInfo =
        new OpenMBeanParameterInfoSupport[atcs.size()];
      int ctr = 0;
      for (TypeConverter tc : atcs) {
        String name = "";
        try {
          name = (pna == null) ? "arg" + ctr : pna.value()[ctr];
          paramInfo[ctr] = new OpenMBeanParameterInfoSupport(
            name, Exceptions.self.noDescriptionAvailable(),
            tc.getManagedType());
          ctr++;
        } catch (IllegalArgumentException ex) {
View Full Code Here

TOP

Related Classes of org.glassfish.gmbal.ParameterNames

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.