Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getClassLoader (0.14 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          return true;
        }
      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        final ClassLoader myLoader = getClass().getClassLoader();
        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. impl/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

            String slf4jBinding = loggerFactory.getClass().getCanonicalName();
    
            try {
                Enumeration<URL> resources =
                        Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE);
    
                while (resources.hasMoreElements()) {
                    URL resource = resources.nextElement();
                    try {
                        InputStream is = resource.openStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                logger.warn("Failed to evaluate groovy script: {} => {}", template, paramMap, e);
                return null;
            } finally {
                final GroovyClassLoader loader = groovyShell.getClassLoader();
                loader.clearCache();
            }
        }
    
        @Override
        protected String getName() {
            return "groovy";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/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;
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            try {
                ToolchainsBuilderResult result = builder.build(ToolchainsBuilderRequest.builder()
                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
                                Session.class.getClassLoader(),
                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. compat/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();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. impl/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 =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

            final StringBuilder mappingSource = new StringBuilder();
            try (BufferedReader br = new BufferedReader(new InputStreamReader(
                    this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")))) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    mappingSource.append(line);
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br = new BufferedReader(
                    new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top