Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for ClassLoader (0.07 sec)

  1. 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)
  2. 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)
  3. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

    tasks.withType<Test>().configureEach {
        val testVersionProvider = javaLauncher.map { it.metadata.languageVersion }
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            //allow ProjectBuilder to inject legacy types into the system classloader
            if (testVersionProvider.get().canCompileOrRun(9)) {
                listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        })
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
            } finally {
                ClassRealmConverter.popContextRealm();
            }
        }
    
        public void configureComponent(
                Object component,
                PlexusConfiguration configuration,
                ExpressionEvaluator evaluator,
                ClassLoader loader,
                ConfigurationListener listener)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultResidentMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
            return new DefaultMavenParser();
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

         */
        RealmType getType();
    
        /**
         * Gets the parent class realm (if any).
         *
         * @return The parent class realm or {@code null} if using the default parent.
         */
        ClassLoader getParent();
    
        /**
         * @deprecated Use {@link #getParentImports()} instead.
         * @return imports
         */
        @Deprecated
        List<String> getImports();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final List<String> subPackages = new ArrayList<>();
            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top