Package org.fusesource.ide.jmx.commons

Examples of org.fusesource.ide.jmx.commons.JmxPluginJmxTemplate


    if( parentElement instanceof IConnectionWrapper ) {
      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("org.apache.servicemix")) {
          ServiceMixFacade facade = new JmxTemplateServiceMixFacade(new JmxPluginJmxTemplate(r.getConnection()));
          ServiceMixNode smx = new ServiceMixNode(r, facade);
          return new Object[]{smx};
        }
      }
    } else if (parentElement instanceof NodeSupport) {
View Full Code Here


public class CamelNodeProvider implements NodeProvider {

  @Override
  public void provide(final Root root) {
    if (root.containsDomain("org.apache.camel")) {
      CamelFacade facade = new JmxTemplateCamelFacade(new JmxPluginJmxTemplate(root.getConnection()));
      CamelContextsNode camel = new CamelContextsNode(root, facade);
      root.addChild(camel);
    }
  }
View Full Code Here

public class ServiceMixNodeProvider implements NodeProvider {

  @Override
  public void provide(final Root root) {
    if (root.containsDomain("org.apache.servicemix")) {
      ServiceMixFacade facade = new JmxTemplateServiceMixFacade(new JmxPluginJmxTemplate(root.getConnection()));
      ServiceMixNode camel = new ServiceMixNode(root, facade);
      root.addChild(camel);
    }
  }
View Full Code Here

    if( parentElement instanceof IConnectionWrapper ) {
      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("org.apache.camel")) {
          CamelFacade facade = new JmxTemplateCamelFacade(new JmxPluginJmxTemplate(r.getConnection()));
          CamelContextsNode camel = new CamelContextsNode(r, facade);
          return new Object[]{camel};
        }
      }
    } else if (parentElement instanceof NodeSupport) {
View Full Code Here

      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("osgi.core")) {
          try {
            JmxPluginJmxTemplate jmxTemplate = new JmxPluginJmxTemplate(r.getConnection());
            OsgiFacade facade = new OsgiFacade(jmxTemplate);
            BundlesNode bundles = new BundlesNode(r, facade);
            return new Object[]{bundles};
          } catch (MalformedObjectNameException ex) {
            KarafJMXPlugin.getLogger().error(ex);
View Full Code Here

      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("io.fabric8")) {
          try {
            JmxPluginJmxTemplate jmxTemplate = new JmxPluginJmxTemplate(r.getConnection());
            Fabric8JMXFacade facade = new Fabric8JMXFacade(jmxTemplate);
            Fabric8Node fabric8 = new Fabric8Node(r, facade);
            return new Object[]{fabric8};
          } catch (MalformedObjectNameException ex) {
            Fabric8JMXPlugin.getLogger().error(ex);
View Full Code Here

    if( parentElement instanceof IConnectionWrapper ) {
      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("org.apache.activemq")) {
          BrokerFacade facade = new JmxTemplateBrokerFacade(new JmxPluginJmxTemplate(r.getConnection()));
          String brokerName = null;
          try {
            brokerName = facade.getBrokerName();
          } catch (Exception e) {
            ActiveMQJMXPlugin.getLogger().warning("Could not find Broker name: " + e, e);
View Full Code Here

TOP

Related Classes of org.fusesource.ide.jmx.commons.JmxPluginJmxTemplate

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.