Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getContainer (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/webapp/js/bootstrap.min.js

    ,r),this.setContent(),this.config.animation&&g(o).addClass(qe);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();g(o).data(this.constructor.DATA_KEY,this),g.contains(this.element.ownerDocument.documentElement,this.tip)||g(o).appendTo(l),g(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,o,this._getPopperConfig(a)),...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
Back to top