Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getClassLoader (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                plexusConfig = plexusConfig.getChild(request.getConfigurationElement());
            }
    
            ClassLoader classLoader = request.getClassLoader();
            if (classLoader == null) {
                classLoader = request.getBean().getClass().getClassLoader();
            }
    
            BeanExpressionEvaluator evaluator = new BeanExpressionEvaluator(request);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    } catch (Exception e) {
                        throw new RuntimeException("Unable to load plugin lifecycles", e);
                    }
                }
    
                @Override
                public ClassLoader getClassLoader() {
                    return delegate.getMojoDescriptor().getRealm();
                }
    
                @Override
                public Artifact getArtifact() {
                    org.apache.maven.artifact.Artifact artifact =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

         */
        private static Path createPathProxy(String value) {
            return (Path) Proxy.newProxyInstance(
                    ExclusionArtifactFilter.class.getClassLoader(), new Class[] {Path.class}, (proxy1, method, args) -> {
                        if ("toString".equals(method.getName())) {
                            return value;
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            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";
    
            String myClasspathEntry = myResource.getPath();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

         * the bean class will be used.
         *
         * @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.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            bind(Injector.class).toInstance(injector);
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            if (classLoader == null) {
                classLoader = getClass().getClassLoader();
            }
            try {
                for (Iterator<URL> it = classLoader
                                .getResources("META-INF/maven/org.apache.maven.api.di.Inject")
                                .asIterator();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            };
            Class<T> superType = (Class<T>) key.getTypeLiteral().getRawType();
            Class<?>[] interfaces = getInterfaces(superType);
            return (T) java.lang.reflect.Proxy.newProxyInstance(superType.getClassLoader(), interfaces, dispatcher);
        }
    
        private Class<?>[] getInterfaces(Class<?> superType) {
            if (superType.isInterface()) {
                return new Class<?>[] {superType};
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

                                return plugin;
                            }
                        }
                    }
                }
            }
    
            return null;
        }
    
        public ClassLoader getClassLoader() {
            return classLoader;
        }
    
        public DefaultBeanConfigurationRequest setClassLoader(ClassLoader classLoader) {
            this.classLoader = classLoader;
            return this;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    
        @Nonnull
        default Collection<Dependency> getDependencies() {
            return getDependenciesMap().values();
        }
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top