Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for _getContainer (0.15 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                            getContainer().lookup(RepositorySystem.class),
                            getContainer().lookup(MavenRepositorySystem.class),
                            new DefaultLookup(getContainer()),
                            getContainer().lookup(RuntimeInformation.class))
                    .newSession(session));
    
            legacySupport.setSession(session);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         */
        @Deprecated
        public Properties getExecutionProperties() {
            return executionProperties;
        }
    
        @Deprecated
        public PlexusContainer getContainer() {
            return container;
        }
    
        @Deprecated
        public Object lookup(String role) throws ComponentLookupException {
            return container.lookup(role);
        }
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                }
                throw e;
            }
        }
    
        public static boolean hasComponent(final String componentKey) {
            if (SingletonLaContainerFactory.getContainer().hasComponentDef(componentKey)) {
                return true;
            }
            return componentMap.containsKey(componentKey);
        }
    
        public static boolean hasQueryParser() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        //    }
    
        // public void test_getTika_pdf_pass() {
        // InputStream in =
        // ResourceUtil.getResourceAsStream("extractor/test_pass.pdf");
        // TikaExtractor extractor =
        // (TikaExtractor) getContainer().getComponent(
        // "tikaExtractorForPdfPassword");
        // Map<String, String> params = new HashMap<String, String>();
        // params.put(ExtractData.URL, "http://example.com/test_pass.pdf");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top