Examples of Plugin

  • org.syncany.plugins.Plugin
    A plugin can be used to store Syncany's repository files on any remote location. Implementations of the Plugin class identify a storage/transfer plugin.

    Using the 'id' attribute, plugins can be loaded by the {@link Plugins} class. Once a plugin is loaded, a corresponding {@link TransferSettings} object must be created and initialized. From the connection object, a {@link TransferManager} can then be used toupload/download files to the repository.

    Per naming convention, plugins must end by the name Plugin and extend this class. Furthermore, all plugin classes must reside in a package org.syncany.plugins.plugin-id, where plugin-id is the identifier specified by {@link #getId()}. @author Philipp C. Heckel

  • plugin.common.Plugin
  • plugins.PluginManager.tools.command.Plugin
    Plugin command used to list/load/unload/reload plugins at runtime. @author Witlospock @version 1.0
  • resources.digesters.Plugin
    Un plug-in es una extensi�n que se puede agregar a EasyBot. Por ejemplo, un robot y todos los componentes que lo conforman, son definidos como plug-ins.
    Un plug-in se crea a partir de un documento XML, y de un conjunto de reglas (tambi�n en formato XML) que permiten establecer los datos del estado del plug-in creado.
  • runjettyrun.Plugin
    The activator class controls the plug-in life cycle. @author hillenius

  • Examples of org.mybatis.generator.api.Plugin

        return answer;
      }

      public static Plugin createPlugin(Context context, PluginConfiguration pluginConfiguration) {
        Plugin plugin = (Plugin) createInternalObject(pluginConfiguration.getConfigurationType());
        plugin.setContext(context);
        plugin.setProperties(pluginConfiguration.getProperties());
        return plugin;
      }
    View Full Code Here

    Examples of org.openbp.jaspira.plugin.Plugin

          {
            JComponent comp = (JComponent) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);

            if (column == 0)
            {
              Plugin plugin = (Plugin) value;
              JLabel label = (JLabel) comp;
              label.setIcon((plugin.getIcon()).getIcon(MultiIcon.SMALL));
              label.setText(plugin.getTitle());
            }
            return comp;
          }
        });
    View Full Code Here

    Examples of org.openxri.plugin.Plugin

          Constructor oConstructor = oClass.getConstructor(oConstructorArgs);

          Object[] oArgs = new Object[1];
          oArgs[0] = oConfig;
          Plugin oImpl = (Plugin) oConstructor.newInstance(oArgs);

          soLog.debug("Successfully constructed Plugin implementation.");

          oImpl.init();

          return oImpl;
        }
        catch (ClassNotFoundException oEx)
        {
    View Full Code Here

    Examples of org.opoo.press.Plugin

       
        @SuppressWarnings("unchecked")
        List<String> pluginClassNames = (List<String>) config.get("plugins");
        if(pluginClassNames != null && !pluginClassNames.isEmpty()){
          for(String className: pluginClassNames){
            Plugin p = (Plugin) ClassUtils.newInstance(className);
            log.debug("Initializing plugin: {}", p.getClass().getName());
            p.initialize(registry);
          }
        }
       
        //Construct RendererImpl after initializing all plugins
        this.renderer = new RendererImpl(this, registry.getTemplateLoaders());
    View Full Code Here

    Examples of org.parosproxy.paros.core.scanner.Plugin

        }
       
        public void setTable(int category, List allTest) {
            listTestCategory.clear();
            for (int i=0; i<allTest.size(); i++) {
                Plugin test = (Plugin) allTest.get(i);
                if (test.getCategory() == category) {
                    listTestCategory.add(test);
                }
            }
            fireTableDataChanged();
           
    View Full Code Here

    Examples of org.quorum.vm.interfaces.Plugin

        private void addArrayChildren(ArrayList<Object> kids, RuntimeObject object) {
            TypeDescriptor type = object.getClazz().getType();
            if(!type.isArrayClass()) { //only mess with arrays if this is an array
                return;
            }
            Plugin arrayPlugin = this.plugins.get(ArrayPlugin.KEY);
            ArrayPluginInterface ap = (ArrayPluginInterface) arrayPlugin;
            org.quorum.plugins.ArrayInterface array = ap.getArray(object.getHashKey());

            if(array != null) { //something is very wrong, since the object clearly exists
                for(int i = 0; i < array.getSize(); i++) {
    View Full Code Here

    Examples of org.rhq.core.domain.plugin.Plugin

         * @throws PluginTransformException if any IO errors occur trying to read the JAR file or if a version not in the
         * plugin descriptor or in the plugin JAR manifest
         */
        public Plugin toPlugin(PluginDescriptor pluginDescriptor, URL pluginURL) {
            try {
                Plugin plugin = new Plugin();
                plugin.setName(pluginDescriptor.getName());

                if (pluginDescriptor.getDisplayName() == null) {
                    plugin.setDisplayName(pluginDescriptor.getName());
                }
                else {
                    plugin.setDisplayName(pluginDescriptor.getDisplayName());
                }

                plugin.setAmpsVersion(getAmpsVersion(pluginDescriptor));
                plugin.setDescription(pluginDescriptor.getDescription());
                plugin.setPath(pluginURL.getPath());
                plugin.setMtime(pluginURL.openConnection().getLastModified());
                plugin.setHelp(getHelp(pluginDescriptor));
                plugin.setMd5(getMd5(pluginURL));
                plugin.setVersion(getVersion(pluginDescriptor, pluginURL));

                return plugin;
            }
            catch (IOException e) {
                throw new PluginTransformException("Failed to create plugin.", e);
    View Full Code Here

    Examples of org.saiku.service.util.dto.Plugin

             * TODO use a metadata.js file for alternative details.
             */
            if (subfiles != null) {
              for (File s : subfiles) {
                if (s.getName().equals("plugin.js")) {
                  Plugin p = new Plugin(s.getParentFile().getName(),
                      "js/saiku/plugins/" + s.getParentFile().getName() + "/plugin.js");
                  l.add(p);
                }
              }
            }
    View Full Code Here

    Examples of org.socialmusicdiscovery.server.api.plugin.Plugin

                // /META-INF/services/org.socialmusicdiscovery.server.api.plugin.Plugin
                Map<String, Plugin> plugins = new HashMap<String, Plugin>();
                ServiceLoader<Plugin> pluginLoader = ServiceLoader.load(Plugin.class);
                Iterator<Plugin> pluginIterator = pluginLoader.iterator();
                while (pluginIterator.hasNext()) {
                    Plugin plugin = pluginIterator.next();
                    plugins.put(plugin.getId(), plugin);
                }

                pluginManager = new PluginManager(plugins);
            }
            return pluginManager;
    View Full Code Here

    Examples of org.sonar.api.Plugin

          .setMainClass("org.sonar.plugins.checkstyle.CheckstylePlugin")
          .addDeployedFile(getFile("sonar-checkstyle-plugin-2.8.jar"));

        Map<String, Plugin> map = classloaders.init(Arrays.<PluginMetadata>asList(checkstyle));

        Plugin checkstyleEntryPoint = map.get("checkstyle");
        ClassRealm checkstyleRealm = (ClassRealm) checkstyleEntryPoint.getClass().getClassLoader();
        assertThat(checkstyleRealm.getId()).isEqualTo("checkstyle");
      }
    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.