Package net.sf.xbus.admin.jmx

Examples of net.sf.xbus.admin.jmx.Administrator


     * Register MBeans
     */
    try {
      MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
      ObjectName name = new ObjectName("xBus:mbean=Administrator");
      Administrator mbean = new Administrator();
      mbs.registerMBean(mbean, name);
    } catch (Exception e) {
      throw new XException(Constants.LOCATION_INTERN,
          Constants.LAYER_ADMIN, Constants.PACKAGE_ADMIN_JMX, "0", e);
    }
View Full Code Here

TOP

Related Classes of net.sf.xbus.admin.jmx.Administrator

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.