Examples of loadPlugins()


Examples of fitnesse.ComponentFactory.loadPlugins()

    builder.authenticator = makeAuthenticator(arguments.getUserpass(),
        componentFactory);

    FitNesseContext context = builder.createFitNesseContext();

    extraOutput = componentFactory.loadPlugins(context.responderFactory,
        wikiPageFactory);
    extraOutput += componentFactory.loadWikiPage(wikiPageFactory);
    extraOutput += componentFactory
        .loadResponders(context.responderFactory);
    extraOutput += componentFactory.loadSymbolTypes();
View Full Code Here

Examples of grails.plugins.PluginManagerLoader.loadPlugins()

                PluginManagerLoader pluginLoader =  (PluginManagerLoader) application
                                                                            .getClassLoader()
                                                                            .loadClass(PLUGIN_LOADER_CLASS)
                                                                            .getConstructor(GrailsApplication.class)
                                                                            .newInstance(application);
                pluginManager = pluginLoader.loadPlugins();
            }
            else {

                ClassLoader classLoader = application.getClassLoader();
                List<Class<?>> classes = new ArrayList<Class<?>>();
View Full Code Here

Examples of org.graylog2.shared.plugins.PluginLoader.loadPlugins()

            logLevel = Level.DEBUG;
        }

        PluginLoader pluginLoader = new PluginLoader(new File(configuration.getPluginDir()));
        List<PluginModule> pluginModules = Lists.newArrayList();
        for (Plugin plugin : pluginLoader.loadPlugins())
            pluginModules.addAll(plugin.modules());

        LOG.debug("Loaded modules: " + pluginModules);

        GuiceInstantiationService instantiationService = new GuiceInstantiationService();
View Full Code Here

Examples of org.graylog2.shared.plugins.PluginLoader.loadPlugins()

        org.apache.log4j.Logger.getRootLogger().setLevel(logLevel);
        org.apache.log4j.Logger.getLogger(Main.class.getPackage().getName()).setLevel(logLevel);

        PluginLoader pluginLoader = new PluginLoader(new File(configuration.getPluginDir()));
        List<PluginModule> pluginModules = Lists.newArrayList();
        for (Plugin plugin : pluginLoader.loadPlugins())
            pluginModules.addAll(plugin.modules());

        LOG.debug("Loaded modules: " + pluginModules);

        final Injector injector = setupInjector(configuration, pluginModules);
View Full Code Here

Examples of org.pdfsam.guiclient.plugins.PlugInsLoader.loadPlugins()

          setTitle(GuiClient.getApplicationName()+" Ver. "+GuiClient.getVersion());
         
          //load plugins
          setSplashStep(GettextResource.gettext(Configuration.getInstance().getI18nResourceBundle(),"Loading plugins.."));
          PlugInsLoader pluginsLoader = new PlugInsLoader(Configuration.getInstance().getPluginAbsolutePath());
          pluginsMap = pluginsLoader.loadPlugins();
     
      //Info panel
      JInfoPanel infoPanel = new JInfoPanel(pluginsMap);
      PluginDataModel infoDataModel = new PluginDataModel(infoPanel.getPluginName(), infoPanel.getVersion(), infoPanel.getPluginAuthor(), infoPanel.getClass().getName());
      mainPanel.add(infoPanel,infoPanel.getPluginName());
View Full Code Here

Examples of org.projectforge.plugins.core.PluginsRegistry.loadPlugins()

    for (final Class< ? > entityClass : HibernateEntities.HISTORY_ENTITIES) {
      log.debug("Adding class " + entityClass.getName());
      config.addAnnotatedClass(entityClass);
    }
    final PluginsRegistry pluginsRegistry = PluginsRegistry.instance();
    pluginsRegistry.loadPlugins();
    for (final AbstractPlugin plugin : pluginsRegistry.getPlugins()) {
      final Class< ? >[] persistentEntities = plugin.getPersistentEntities();
      if (persistentEntities != null) {
        for (final Class< ? > entity : persistentEntities) {
          log.debug("Adding class " + entity.getName());
View Full Code Here

Examples of plugin.loader.PluginClassLoader.loadPlugins()

  private static Jif instance;

  public static void main(String[] args) {
    PluginClassLoader loader = null;
    loader = new PluginClassLoader(new File[] { (new File("filters/")) });
    loader.loadPlugins(new File[] { (new File("filters/color/")),
        new File("plugin/examples/math") });
    instance = Jif.getInstance();
  }
}
View Full Code Here

Examples of ro.fortsoft.pf4j.DefaultPluginManager.loadPlugins()

        // create the plugin manager
        final PluginManager pluginManager = new DefaultPluginManager();

        // load the plugins
        pluginManager.loadPlugins();

        // enable a disabled plugin
//        pluginManager.enablePlugin("welcome-plugin");

        // start (active/resolved) the plugins
View Full Code Here

Examples of ro.fortsoft.pf4j.PluginManager.loadPlugins()

        // create the plugin manager
        final PluginManager pluginManager = new DefaultPluginManager();

        // load the plugins
        pluginManager.loadPlugins();

        // enable a disabled plugin
//        pluginManager.enablePlugin("welcome-plugin");

        // start (active/resolved) the plugins
View Full Code Here

Examples of ru.snake.spritepacker.plugin.PluginLoader.loadPlugins()

    pimport.setMnemonic(KeyEvent.VK_I);
    pexport.setMnemonic(KeyEvent.VK_E);

    PluginLoader pluginLoader = new PluginLoader();
    Collection<String> errors = pluginLoader.loadPlugins();

    if (!errors.isEmpty()) {
      showPluginErrors(errors);
    }
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.