Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    .collect(Collectors.toSet());
        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
                Random random = new Random();
    
                while (true) {
                    try {
                        ClassRealm classRealm = world.newRealm(realmId, null);
    
                        logger.debug("Created new class realm {}", realmId);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                List<Path> extClassPath,
                List<CoreExtensionEntry> extensions)
                throws Exception {
            if (!extClassPath.isEmpty() || !extensions.isEmpty()) {
                ClassRealm extRealm = classWorld.newRealm("maven.ext", null);
    
                extRealm.setParentRealm(coreRealm);
    
                logger.debug("Populating class realm '" + extRealm.getId() + "'");
    
                for (Path file : extClassPath) {
    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. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
            String classLoadingStrategy = extension.getClassLoadingStrategy();
            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top