Searched defs:getInstance (Results 1 - 10 of 10) sorted by relevance

/opengrok/test/org/opensolaris/opengrok/authorization/
H A DAuthorizationFrameworkTest.java49 AuthorizationFramework instance = getInstance();
64 AuthorizationFramework instance = getInstance();
77 * Test of getInstance method.
81 AuthorizationFramework result = getInstance();
93 assertEquals(getInstance().isAllowed(createRequest(), createAllowedProject()), true);
94 assertEquals(getInstance().isAllowed(createRequest(), createAllowedGroup()), true);
99 pluginDirectory = RuntimeEnvironment.getInstance().getConfiguration().getPluginDirectory();
100 RuntimeEnvironment.getInstance().getConfiguration().setPluginDirectory(null);
105 RuntimeEnvironment.getInstance().getConfiguration().setPluginDirectory(pluginDirectory);
112 method.invoke(AuthorizationFramework.getInstance());
128 private AuthorizationFramework getInstance() { method in class:AuthorizationFrameworkTest
[all...]
/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexer.java81 public static Indexer getInstance() { method in class:Indexer
549 RuntimeEnvironment env = RuntimeEnvironment.getInstance();
592 getInstance().prepareIndexer(env, searchRepositories, addProjects,
603 getInstance().doIndexerExecution(update, noThreads, subFiles,
608 getInstance().sendToConfigHost(env, configHost);
664 HistoryGuru.getInstance().addRepositories(env.getSourceRootPath());
703 HistoryGuru.getInstance().removeCache(toZap);
781 HistoryGuru.getInstance().createCache(repositories);
785 HistoryGuru.getInstance().createCache();
808 RuntimeEnvironment env = RuntimeEnvironment.getInstance()
[all...]
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DAuthorizationFramework.java69 public static AuthorizationFramework getInstance() { method in class:AuthorizationFramework
114 String path = RuntimeEnvironment.getInstance()
/opengrok/test/org/opensolaris/opengrok/web/
H A DProjectHelperTestBase.java142 return (Map<Project, List<RepositoryInfo>>) field.get(RuntimeEnvironment.getInstance());
153 field.set(RuntimeEnvironment.getInstance(), map);
205 env = RuntimeEnvironment.getInstance();
258 method.invoke(AuthorizationFramework.getInstance());
268 method.invoke(AuthorizationFramework.getInstance(), new Object[]{plugin});
274 protected AuthorizationFramework getInstance() { method in class:ProjectHelperTestBase
275 return AuthorizationFramework.getInstance();
292 instance = getInstance();
/opengrok/src/org/opensolaris/opengrok/history/
H A DHistoryGuru.java78 RuntimeEnvironment env = RuntimeEnvironment.getInstance();
103 public static HistoryGuru getInstance() { method in class:HistoryGuru
231 RemoteSCM rscm = RuntimeEnvironment.getInstance().getRemoteScmSupported();
283 && ((RuntimeEnvironment.getInstance().getRemoteScmSupported() == RemoteSCM.ON)
284 || (RuntimeEnvironment.getInstance().getRemoteScmSupported() == RemoteSCM.UIONLY)
285 || (RuntimeEnvironment.getInstance().getRemoteScmSupported() == RemoteSCM.DIRBASED)
378 if (RuntimeEnvironment.getInstance().isVerbose()) {
419 RuntimeEnvironment.getInstance().getIgnoredNames(), 0);
420 RuntimeEnvironment.getInstance().setRepositories(repos);
428 boolean verbose = RuntimeEnvironment.getInstance()
[all...]
/opengrok/src/org/opensolaris/opengrok/management/
H A DAgentIndexRunner.java77 * instance through the static factory method getInstance().
89 public static synchronized AgentIndexRunner getInstance(boolean enabledParam) { method in class:AgentIndexRunner
124 String configfile = Management.getInstance().getConfigurationFile();
130 env = RuntimeEnvironment.getInstance();
134 Indexer index = Indexer.getInstance();
135 int noThreads = Management.getInstance().getNumberOfThreads().intValue();
136 boolean update = Management.getInstance().getUpdateIndexDatabase().booleanValue();
137 String[] sublist = Management.getInstance().getSubFiles();
139 HistoryGuru.getInstance().updateRepositories();
148 String publishhost = Management.getInstance()
[all...]
H A DManagement.java52 * instance through the static factory method getInstance().
78 public static synchronized Management getInstance(Properties ogaProperties) { method in class:Management
90 public static Management getInstance() { method in class:Management
/opengrok/src/org/opensolaris/opengrok/web/
H A DProjectHelper.java97 public static ProjectHelper getInstance(PageConfig cfg) { method in class:ProjectHelper
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DRuntimeEnvironment.java213 public static RuntimeEnvironment getInstance() { method in class:RuntimeEnvironment
1209 HistoryGuru.getInstance().invalidateRepositories(
1222 HistoryGuru.getInstance().invalidateRepositories(
1474 m.apply(RuntimeEnvironment.getInstance());
1562 AuthorizationFramework.getInstance().reload();
1756 SuperIndexSearcher searcher = RuntimeEnvironment.getInstance().getIndexSearcher(proj);
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 32 milliseconds