示例#1
0
  public void loadPlugins() {
    // Load Internal First
    loadPlugins(_internalPluginsDirectory);

    // Do not load plugins again, if internal and maindir are referencing
    // same directory
    if (!isCanonicalPathEqual(_externalPluginsDirectory, _internalPluginsDirectory)) {
      loadPlugins(_externalPluginsDirectory);
    }

    // Call onLoad everywhere
    callOnLoadInPlugins();

    if (_pluginerror.errorsOccured()) {
      _pluginerror.show();
    }
  }
示例#2
0
 private void putErrorInController(String name, Throwable t) {
   _pluginerror.insertError(name, t);
 }