Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for classLoaders (0.09 sec)

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

                    classRealm.importFromParent(imp);
                }
            }
        }
    
        private static Object getId(ClassLoader classLoader) {
            if (classLoader instanceof ClassRealm) {
                return ((ClassRealm) classLoader).getId();
            }
            return classLoader;
        }
    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. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueueTest extends TestCase {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

        /**
         * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected.
         * This approach prevents permgen space overflows due to retention of discarded
         * classloaders.
         */
        private static final Map<Class<?>, WeakReference<ClassMap>> CLASS_MAPS = new WeakHashMap<>();
    
        static final int EOF = -1;
    
        static final char PROPERTY_START = '.';
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
        frq.close();
    
        return new WeakReference<ClassLoader>(sepLoader);
      }
    
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            ResolveTask(
                    ClassLoader classLoader,
                    CountDownLatch latch,
                    Artifact artifact,
                    RepositorySystemSession session,
                    List<ArtifactRepository> remoteRepositories,
                    ArtifactResolutionResult result) {
                this.classLoader = classLoader;
                this.latch = latch;
                this.artifact = artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            bind(SisuDiBridgeModule.class).toInstance(this);
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            if (classLoader == null) {
                classLoader = getClass().getClassLoader();
            }
            if (discover) {
                injector.discover(classLoader);
            }
        }
    
        private void bindScope(
                InjectorImpl injector,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java

        private final RealmType type;
    
        private final ClassLoader parent;
    
        private final List<String> parentImports;
    
        private final Map<String, ClassLoader> foreignImports;
    
        private final List<ClassRealmConstituent> constituents;
    
        DefaultClassRealmRequest(
                RealmType type,
                ClassLoader parent,
                List<String> parentImports,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

                    }
                }
            }
    
            return null;
        }
    
        public ClassLoader getClassLoader() {
            return classLoader;
        }
    
        public DefaultBeanConfigurationRequest setClassLoader(ClassLoader classLoader) {
            this.classLoader = classLoader;
            return this;
        }
    
        public BeanConfigurationValuePreprocessor getValuePreprocessor() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            if (request.getConfigurationElement() != null) {
                plexusConfig = plexusConfig.getChild(request.getConfigurationElement());
            }
    
            ClassLoader classLoader = request.getClassLoader();
            if (classLoader == null) {
                classLoader = request.getBean().getClass().getClassLoader();
            }
    
            BeanExpressionEvaluator evaluator = new BeanExpressionEvaluator(request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

     * Maven core itself and loaded Maven core extensions.
     *
     * @since 3.3.0
     */
    public class CoreExports {
        private final Set<String> artifacts;
    
        private final Map<String, ClassLoader> packages;
    
        public CoreExports(CoreExtensionEntry entry) {
            this(entry.getClassRealm(), entry.getExportedArtifacts(), entry.getExportedPackages());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top