Examples of whichPlugin()


Examples of com.gitblit.manager.IPluginManager.whichPlugin()

    IPluginManager pluginManager = dagger.get(IPluginManager.class);

    filters = pluginManager.getExtensions(HttpRequestFilter.class);
    for (HttpRequestFilter f : filters) {
      // wrap the filter config for Gitblit settings retrieval
      PluginWrapper pluginWrapper = pluginManager.whichPlugin(f.getClass());
      FilterConfig runtimeConfig = new FilterRuntimeConfig(runtimeManager,
          pluginWrapper.getPluginId(), filterConfig);

      f.init(runtimeConfig);
    }
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.