Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for classLoaders (0.15 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

    /** Tests for {@link AbstractFuture} with the cancellation cause system property set */
    @AndroidIncompatible // custom classloading
    
    public class AbstractFutureCancellationCauseTest extends TestCase {
    
      private ClassLoader oldClassLoader;
      private URLClassLoader classReloader;
      private Class<?> settableFutureClass;
      private Class<?> abstractFutureClass;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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