Examples of PluginInfo


Examples of org.xmlBlaster.util.plugin.PluginInfo

    */
   public I_CallbackServer getPlugin(String type, String version) throws XmlBlasterException {
      if (log.isLoggable(Level.FINER)) log.finer("Creating instance of " + createPluginPropertyKey(type, version));

      // We need a new instance every time! (no caching in base class)
      PluginInfo pluginInfo = new PluginInfo(glob, this, type, version);
      I_CallbackServer driver = (I_CallbackServer)super.instantiatePlugin(pluginInfo, false);
      if (driver == null) log.warning("Creating instance of " + createPluginPropertyKey(type, version) + " failed, no such plugin found.");
      return driver;
   }
View Full Code Here

Examples of xnap.plugin.PluginInfo

  jlStatus.setToolTipText(newValue);
    }

    public void valueChanged(ListSelectionEvent e)
    {
  PluginInfo i = (PluginInfo)jlPlugins.getSelectedValue();
  IPlugin p = PluginManager.getInstance().getPluginByName(i.getName());

  jlName.setText(i.getName());
  jlVersion.setText(i.getVersion());
  jlInstalledVersion.setText((p != null) ? p.getVersion() : "");
  jlDescription.setText(i.getDescription());

  if (p != null) {
      int c = VersionParser.compare(i.getVersion(), p.getVersion());
      acInstall.setEnabled(c != 0);
  }
  else {
      acInstall.setEnabled(true);
  }
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.