Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setLookupRealm (0.14 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);
            context.currentThreadContextClassLoader = container.getContainerRealm();
            Thread.currentThread().setContextClassLoader(container.getContainerRealm());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top