Examples of PluginData


Examples of nu.fw.jeti.plugins.PluginData

        jScrollPane1.getViewport().add(jTable1);
    }

    void jButton1_actionPerformed(ActionEvent e)
    {
    new PluginData().scanPlugins();
    dataModel.reload(Preferences.getTranslatedPlugins());
     
    }
View Full Code Here

Examples of org.collectd.api.PluginData

            + "present."));
  } /* }}} GenericJMXConfConnection (OConfigItem ci) */

  public void query () /* {{{ */
  {
    PluginData pd;

    connect ();

    if (this._jmx_connection == null)
      return;

    Collectd.logDebug ("GenericJMXConfConnection.query: "
        + "Reading " + this._mbeans.size () + " mbeans from "
        + ((this._host != null) ? this._host : "(null)"));

    pd = new PluginData ();
    pd.setHost (this.getHost ());
    pd.setPlugin ("GenericJMX");

    for (int i = 0; i < this._mbeans.size (); i++)
    {
      int status;

View Full Code Here

Examples of org.collectd.api.PluginData

    iter = names.iterator ();
    while (iter.hasNext ())
    {
      ObjectName   objName;
      PluginData   pd_tmp;
      List<String> instanceList;
      StringBuffer instance;

      objName      = iter.next ();
      pd_tmp       = new PluginData (pd);
      instanceList = new ArrayList<String> ();
      instance     = new StringBuffer ();

      Collectd.logDebug ("GenericJMXConfMBean: objName = "
          + objName.toString ());

      for (int i = 0; i < this._instance_from.size (); i++)
      {
        String propertyName;
        String propertyValue;

        propertyName = this._instance_from.get (i);
        propertyValue = objName.getKeyProperty (propertyName);
        if (propertyValue == null)
        {
          Collectd.logError ("GenericJMXConfMBean: "
              + "No such property in object name: " + propertyName);
        }
        else
        {
          instanceList.add (propertyValue);
        }
      }

      if (instance_prefix != null)
        instance.append (instance_prefix);

      if (this._instance_prefix != null)
        instance.append (this._instance_prefix);

      for (int i = 0; i < instanceList.size (); i++)
      {
        if (i > 0)
          instance.append ("-");
        instance.append (instanceList.get (i));
      }

      pd_tmp.setPluginInstance (instance.toString ());

      Collectd.logDebug ("GenericJMXConfMBean: instance = " + instance.toString ());

      for (int i = 0; i < this._values.size (); i++)
        this._values.get (i).query (conn, objName, pd_tmp);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.