Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for classLoaders (0.09 sec)

  1. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @param locale
         *            ロケール
         * @param classLoader
         *            クラスローダ。{@literal null}や空文字列であってはいけません
         * @return {@link ResourceBundle}
         * @see ResourceBundle#getBundle(String, Locale, ClassLoader)
         */
        public static final ResourceBundle getBundle(final String name, final Locale locale, final ClassLoader classLoader) {
            assertArgumentNotNull("name", name);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url2 = new URL("file:/b");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null);
        assertThat(ClassPath.getClassPathEntries(classloader))
            .containsExactly(new File("/a"), classloader, new File("/b"), classloader);
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_withParent() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            HtmlTagBasedGenerator generator = new HtmlTagBasedGenerator();
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            File outputFile = File.createTempFile("generator_", ".png");
    
            String imagePath = "thumbnail/600x400.png";
            try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                generator.saveImage(input, outputFile);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         */
        public static ClassLoader getClassLoader(final Class<?> targetClass) {
            assertArgumentNotNull("targetClass", targetClass);
    
            final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
            if (contextClassLoader != null) {
                return contextClassLoader;
            }
    
            final ClassLoader targetClassLoader = targetClass.getClassLoader();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/http/Handler.java

                                handlerClass = Class.forName(className);
                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.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. android/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)
Back to top