Package org.springframework.jmx.export.naming

Examples of org.springframework.jmx.export.naming.IdentityNamingStrategy


  private static final String MR_TYPE_OBJECT_REFERENCE = "ObjectReference";

  public static void registerMBean(Object mbean)
  {
    try {
      ObjectNamingStrategy namingStrategy = new IdentityNamingStrategy();
      ObjectName objectName = namingStrategy.getObjectName(mbean, null);

      MBeanRegistrationSupport registrar = new MBeanRegistrationSupport();
      registrar.setServer(JmxUtils.locateMBeanServer());
     
      // if item qualifies as MBean, export it directly
View Full Code Here

TOP

Related Classes of org.springframework.jmx.export.naming.IdentityNamingStrategy

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.