Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for ClassLoader (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

         *
         * @return The class loader to load referenced types from or {@code null} if unset.
         */
        ClassLoader getClassLoader();
    
        /**
         * Sets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
         * the bean class will be used.
         *
         * @param classLoader The class loader to load referenced types from, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

        }
    
        private static ClassLoader initializeDocLoader() throws ExpressionDocumentationException {
            String myResourcePath = ExpressionDocumenter.class.getName().replace('.', '/') + ".class";
    
            URL myResource = ExpressionDocumenter.class.getClassLoader().getResource(myResourcePath);
    
            assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

    /**
     * Container capsule backed by Plexus Container.
     */
    public class PlexusContainerCapsule implements ContainerCapsule {
        private final ClassLoader previousClassLoader;
        private final PlexusContainer plexusContainer;
        private final Lookup lookup;
    
        public PlexusContainerCapsule(ClassLoader previousClassLoader, PlexusContainer plexusContainer) {
            this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top