Package com.dotmarketing.business.cluster.mbeans

Examples of com.dotmarketing.business.cluster.mbeans.Cluster


            MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
        ObjectName name;

        name = new ObjectName("org.dotcms:type=Cluster");
        Cluster clusteMBean = new Cluster();
        mbs.registerMBean(clusteMBean, name);
      } catch (MalformedObjectNameException e) {
        Logger.debug(InitServlet.class,"MalformedObjectNameException: " + e.getMessage(),e);
      } catch (InstanceAlreadyExistsException e) {
        Logger.debug(InitServlet.class,"InstanceAlreadyExistsException: " + e.getMessage(),e);
View Full Code Here

TOP

Related Classes of com.dotmarketing.business.cluster.mbeans.Cluster

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.