Examples of findResources()


Examples of com.caucho.loader.DynamicClassLoader.findResources()

      String serviceName = "META-INF/services/" + serviceApiClass.getName();
     
      Enumeration<URL> e;
     
      if (isLocal)
        e = loader.findResources(serviceName);
      else
        e = loader.getResources(serviceName);

      while (e.hasMoreElements()) {
        URL url = e.nextElement();
View Full Code Here

Examples of com.google.classpath.ClassPath.findResources()

   
    // log("Couldn't find import for class " + className);

    for (Library lib : editor.dmode.contribLibraries) {
      ClassPath cp = factory.createFromPath(lib.getClassPath());
      resources = cp.findResources("", regf);
      for (String res : resources) {
        candidates.add(res);
        log("Res: " + res);
      }
    }
View Full Code Here

Examples of com.impetus.kundera.classreading.Reader.findResources()

        InputStream[] iStreams = null;
        PersistenceUnitMetadata puMetadata = persistentUnitMetadataMap.get(persistenceUnit);
        if (this.getClass().getClassLoader() instanceof URLClassLoader && !puMetadata.getExcludeUnlistedClasses())
        {
            URL[] managedClasses = reader.findResources();
            if (managedClasses != null)
            {
                List<URL> managedResources = Arrays.asList(managedClasses);
                managedURLs.addAll(managedResources);
            }
View Full Code Here

Examples of java.net.URLClassLoader.findResources()

    if (getLoader() instanceof URLClassLoader)
    {
      URLClassLoader ul = (URLClassLoader) getLoader();

      enumeration = cleanUrlList(ul.findResources("services.list"));
    }
    else
    {
      enumeration = cleanUrlList(getLoader().getResources("services.list"));
    }
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.findResources()

            logger.error("Unable to process annotation in " + standardContext.getPath() + ": Exception: " + e.getMessage(), e);
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        webApp = webModule.getWebApp();
        for (ContextResource resource : naming.findResources()) {
            String name = resource.getName();
            removeRef(webApp, name);
        }
        for (ContextResourceLink resourceLink : naming.findResourceLinks()) {
            String name = resourceLink.getName();
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.findResources()

            envEntry.setEnvEntryValue(environment.getValue());
            envEntry.setEnvEntryType(environment.getType());
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        for (ContextResource resource : naming.findResources()) {
            String name = resource.getName();
            removeRef(webApp, name);
        }
        for (ContextResourceLink resourceLink : naming.findResourceLinks()) {
            String name = resourceLink.getName();
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.findResources()

            envEntry.setEnvEntryValue(environment.getValue());
            envEntry.setEnvEntryType(environment.getType());
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        for (ContextResource resource : naming.findResources()) {
            String name = resource.getName();
            removeRef(webApp, name);
        }
        for (ContextResourceLink resourceLink : naming.findResourceLinks()) {
            String name = resourceLink.getName();
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.findResources()

            logger.error("Unable to process annotation in " + standardContext.getPath() + ": Exception: " + e.getMessage(), e);
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        webApp = webModule.getWebApp();
        for (ContextResource resource : naming.findResources()) {
            String name = resource.getName();
            removeRef(webApp, name);
        }
        for (ContextResourceLink resourceLink : naming.findResourceLinks()) {
            String name = resourceLink.getName();
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.findResources()

            envEntry.setEnvEntryValue(environment.getValue());
            envEntry.setEnvEntryType(environment.getType());
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        for (ContextResource resource : naming.findResources()) {
            String name = resource.getName();
            removeRef(webApp, name);
        }
        for (ContextResourceLink resourceLink : naming.findResourceLinks()) {
            String name = resourceLink.getName();
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResourcesImpl.findResources()

            envEntry.setEnvEntryValue(environment.getValue());
            envEntry.setEnvEntryType(environment.getType());
        }

        // remove all jndi entries where there is a configured Tomcat resource or resource-link
        for (final ContextResource resource : naming.findResources()) {
            final String name = resource.getName();
            removeRef(webApp, name);
        }
        for (final ContextResourceLink resourceLink : naming.findResourceLinks()) {
            final String name = resourceLink.getName();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.