Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getContainerRealm (0.15 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

        }
    
        @Override
        public String prompt(String message, List<String> possibleValues, String defaultReply) throws PrompterException {
            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            // NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
            container.setLookupRealm(null);
            context.currentThreadContextClassLoader = container.getContainerRealm();
            Thread.currentThread().setContextClassLoader(container.getContainerRealm());
    
            container.setLoggerManager(createLoggerManager());
            R invokerRequest = context.invokerRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
        public ClassRealm getRealm() {
            return container.getContainerRealm();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            this.coreExports = coreExports;
            this.classWorld = ((DefaultPlexusContainer) container).getClassWorld();
            this.parentRealm = container.getContainerRealm();
            this.ideWorkspaceReader = ideWorkspaceReader;
            this.repoSystem = repoSystem;
        }
    
        public List<CoreExtensionEntry> loadCoreExtensions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                }
            });
    
            // NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
            container.setLookupRealm(null);
            Thread.currentThread().setContextClassLoader(container.getContainerRealm());
    
            container.setLoggerManager(plexusLoggerManager);
    
            Function<String, String> extensionSource = expression -> {
                String value = cliRequest.userProperties.getProperty(expression);
    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