Package org.jboss.tools.jmx.core.tree

Examples of org.jboss.tools.jmx.core.tree.Root


  @Override
  public Object[] getChildren(Object parentElement) {
    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


  @Override
  public Object[] getChildren(Object parentElement) {
    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

  @Override
  public Object[] getChildren(Object parentElement) {
    if( parentElement instanceof IConnectionWrapper ) {
      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

  @Override
  public Object[] getChildren(Object parentElement) {
    if( parentElement instanceof IConnectionWrapper ) {
      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

  @Override
  public Object[] getChildren(Object parentElement) {
    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.jboss.tools.jmx.core.tree.Root

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.