Searched defs:plugin (Results 1 - 4 of 4) sorted by relevance

/opengrok/egrok/src/org/opensolaris/opengrok/egrok/
H A DActivator.java3 import org.eclipse.ui.plugin.AbstractUIPlugin;
15 private static Activator plugin; field in class:Activator
27 * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
33 plugin = this;
40 * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
45 plugin = null;
55 return plugin;
/opengrok/test/org/opensolaris/opengrok/authorization/
H A DAuthorizationFrameworkTest.java60 * Test plugin loaded
118 private void invokeAddPlugin(IAuthorizationPlugin plugin) { argument
122 method.invoke(AuthorizationFramework.getInstance(), new Object[]{plugin});
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DAuthorizationFramework.java87 public boolean test(IAuthorizationPlugin plugin) {
88 return plugin.isAllowed(request, project);
107 public boolean test(IAuthorizationPlugin plugin) {
108 return plugin.isAllowed(request, group);
118 LOGGER.log(Level.INFO, "plugin directory not found or not readable: {0}. "
146 private void removePlugin(IAuthorizationPlugin plugin) { argument
149 plugin.unload();
151 LOGGER.log(Level.SEVERE, "Plugin \"" + plugin.getClass().getName() + "\" has failed while unloading with exception:", ex);
153 plugins.remove(plugin);
158 private void addPlugin(IAuthorizationPlugin plugin) { argument
[all...]
/opengrok/test/org/opensolaris/opengrok/web/
H A DProjectHelperTestBase.java264 protected void invokeAddPlugin(IAuthorizationPlugin plugin) { argument
268 method.invoke(AuthorizationFramework.getInstance(), new Object[]{plugin});
294 IAuthorizationPlugin plugin = new TestPlugin() {
305 invokeAddPlugin(plugin);

Completed in 19 milliseconds