Package org.jboss.managed.plugins.jmx

Examples of org.jboss.managed.plugins.jmx.CompositeDataMetaValueBuilder


      long threadID = Thread.currentThread().getId();
      ThreadInfo threadInfo = mbean.getThreadInfo(threadID, 3);

      // Test ThreadInfo MetaValue wrap/unwrap
      MetaValueFactory metaValueFactory = MetaValueFactory.getInstance();
      CompositeDataMetaValueBuilder builder = new CompositeDataMetaValueBuilder();
      builder.setMetaValueFactory(metaValueFactory);
      metaValueFactory.setBuilder(CompositeData.class, builder);
      metaValueFactory.setBuilder(CompositeDataSupport.class, builder);

      MetaValue threadInfoMV = metaValueFactory.create(threadInfo);
      log.debug("ThreadInfo.MV: "+threadInfoMV);
View Full Code Here

TOP

Related Classes of org.jboss.managed.plugins.jmx.CompositeDataMetaValueBuilder

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.