- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for _getContainer (0.12 sec)
-
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
public Object evaluate(String template, Map<String, Object> paramMap) { final Map<String, Object> bindingMap = new HashMap<>(paramMap); bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java
public LastaCrawlerContainer() { initialize(); } @Override public <T> T getComponent(final String name) { return SingletonLaContainerFactory.getContainer().getComponent(name); } @Override public boolean available() { return SingletonLaContainerFactory.hasContainer(); } @Override public void destroy() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
SingletonLaContainerFactory.getContainer().register(CrawlingInfoHelper.class, "crawlingInfoHelper"); SingletonLaContainerFactory.getContainer().register(PathMappingHelper.class, "pathMappingHelper"); SingletonLaContainerFactory.getContainer().register(CrawlingConfigHelper.class, "crawlingConfigHelper"); SingletonLaContainerFactory.getContainer().register(SystemHelper.class, "systemHelper");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
public Object evaluate(final String template, final Map<String, Object> paramMap) { final Map<String, Object> bindingMap = new HashMap<>(paramMap); bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template); } catch (final JobProcessingException e) { throw e;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
@Inject protected org.apache.maven.project.ProjectBuilder projectBuilder; protected abstract String getProjectsDirectory(); protected PlexusContainer getContainer() { return container; } protected File getProject(String name) throws Exception { File source = new File(new File(getBasedir(), getProjectsDirectory()), name);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
assertTrue(seen, "Could not find ThreadGroup: " + DefaultArtifactResolver.DaemonThreadCreator.THREADGROUP_NAME); } @Test void testLookup() throws Exception { ArtifactResolver resolver = getContainer().lookup(ArtifactResolver.class, "default"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
protected RepositorySystemSession session; @BeforeEach public void setUp() throws Exception { session = newMavenRepositorySystemSession(system); } protected PlexusContainer getContainer() { return container; } public static RepositorySystemSession newMavenRepositorySystemSession(RepositorySystem system) { SessionBuilder session = new MavenSessionBuilderSupplier(system).get();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); SingletonLaContainerFactory.getContainer().register(systemProps, "systemProperties"); assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(null)); assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(""));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
public Object evaluate(String template, Map<String, Object> paramMap) { final Map<String, Object> bindingMap = new HashMap<>(paramMap); bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
} public void testReadRepoFromModel() throws Exception { Artifact m = createArtifact(TestMavenWorkspaceReader.ARTIFACT_ID, TestMavenWorkspaceReader.VERSION); ArtifactMetadataSource source = getContainer().lookup(ArtifactMetadataSource.class, "maven"); ResolutionGroup group = source.retrieve(m, localRepository(), new ArrayList<>()); List<ArtifactRepository> repositories = group.getResolutionRepositories();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0)