Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setLookupRealm (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            DefaultPlexusContainer container = new DefaultPlexusContainer(cc, getCustomModule(context, exports));
    
            // NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
            container.setLookupRealm(null);
            Thread.currentThread().setContextClassLoader(container.getContainerRealm());
    
            container.setLoggerManager(createLoggerManager());
            ProtoSession protoSession = context.protoSession;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            // the lifecycle that is part of the lookup. Here we are specifically trying to keep
            // lookups that occur in contextualize calls in line with the right realm.
            ClassRealm oldLookupRealm = container.setLookupRealm(pluginRealm);
    
            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
            Thread.currentThread().setContextClassLoader(pluginRealm);
    
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    bind(MessageBuilderFactory.class).toInstance(messageBuilderFactory);
                }
            });
    
            // NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
            container.setLookupRealm(null);
            Thread.currentThread().setContextClassLoader(container.getContainerRealm());
    
            container.setLoggerManager(plexusLoggerManager);
    
            UnaryOperator<String> extensionSource = expression -> {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top