Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for _getContainer (0.07 seconds)

  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);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

            // a java for gradle to run, and the tests are self sufficient and consistent with the java they use
            NamedDomainObjectContainer<ElasticsearchDistribution> allDistributions = DistributionDownloadPlugin.getContainer(project);
            List<ElasticsearchDistribution> testDistributions = configureDistributions(project);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            DynamicProperties systemProps = new DynamicProperties(file);
    
            // Get existing component and update it instead of registering new one
            DynamicProperties existingProps = SingletonLaContainerFactory.getContainer().getComponent("systemProperties");
            existingProps.setProperty("ldap.security.principal", "******@****.***");
    
            assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(null));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  5. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        @Test
        public void testReadRepoFromModel() throws Exception {
            Artifact artifact = createArtifact(TestMavenWorkspaceReader.ARTIFACT_ID, TestMavenWorkspaceReader.VERSION);
            ArtifactMetadataSource source = getContainer().lookup(ArtifactMetadataSource.class, "maven");
            ResolutionGroup group = source.retrieve(artifact, localRepository(), new ArrayList<>());
            List<ArtifactRepository> repositories = group.getResolutionRepositories();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

            final Map<String, Object> bindingMap = new HashMap<>(safeParamMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
    
            try {
                final CachedScript cached = getOrCompile(template);
                final Script script = cached.scriptClass.getDeclaredConstructor().newInstance();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * @return True if the component is available, false otherwise.
         */
        public static boolean hasComponent(final String componentKey) {
            if (SingletonLaContainerFactory.getContainer().hasComponentDef(componentKey)) {
                return true;
            }
            return componentMap.containsKey(componentKey);
        }
    
        /**
         * Checks if query parser is available.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
Back to Top