Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 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)
Back to top