Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 351 for Singleton (0.05 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

    package org.apache.maven.repository.internal;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.building.ModelCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Default implementation of {@link ModelCacheFactory}.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java

    package org.apache.maven.extension.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import java.util.Objects;
    
    import org.apache.maven.internal.CoreRealm;
    
    /**
     * CoreExportsProvider
     */
    @Named
    @Singleton
    public class CoreExportsProvider implements Provider<CoreExports> {
    
        private final CoreExports exports;
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionFeature;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

                    singleton(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.BUILD_PATH_RUNTIME),
                    Collections.emptySet(),
                    nonTransitiveDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_RUNTIME_PLUS_SYSTEM,
                    InternalScopeManager.Mode.ELIMINATE,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Collection<String> c = MinimalCollection.of("a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_oneElementRepeated() {
        Collection<String> c = MinimalCollection.of("a", "a", "a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_general() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/TestModelResolver.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.impl.resolver.DefaultModelResolver;
    
    @Named
    @Singleton
    @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 896 bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.cling.invoker.mvnenc.EncryptContext;
    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.OK;
    
    /**
     * The "encrypt" goal.
     */
    @Singleton
    @Named("encrypt")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/MojoExecutor.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal.concurrent;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.ExecutionEventCatapult;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.google.MultisetFeature.ENTRIES_ARE_VIEWS;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multisets;
    import com.google.common.collect.testing.features.CollectionFeature;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top