Package com.dotmarketing.business.mbeans

Examples of com.dotmarketing.business.mbeans.CacheInfoMBean


      MBeanServer server = ManagementFactory.getPlatformMBeanServer();
      ObjectName on = new ObjectName("jboss.cache:service=TreeCache");
      server.registerMBean(wrapper, on);
     
      on = new ObjectName("org.dotcms:type=CacheInfo");
      CacheInfoMBean infoBean=new CacheInfo(this);
      server.registerMBean(infoBean, on);
     
    } catch (MalformedObjectNameException e) {
      Logger.debug(DotJBCacheAdministratorImpl.class,"MalformedObjectNameException: " + e.getMessage(),e);
    } catch (InstanceAlreadyExistsException e) {
View Full Code Here

TOP

Related Classes of com.dotmarketing.business.mbeans.CacheInfoMBean

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.