Searched refs:urls (Results 1 - 25 of 39) sorted by relevance

12

/glassfish-3.1.2/deployment/javaee-full/src/main/java/org/glassfish/javaee/full/deployment/
H A DEarLibClassLoader.java53 public EarLibClassLoader(URL[] urls, ClassLoader classLoader) { argument
56 for (URL url : urls) {
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DScatteredArchive.java69 final List<URL> urls = new ArrayList<URL>(); field in class:ScatteredArchive.Builder
95 * @param urls set of resources repository
97 public Builder(String name, Collection<URL> urls) { argument
99 for (URL u : urls) {
100 this.urls.add(u);
167 this.urls.add(location.toURI().toURL());
182 this.urls.add(classpath);
219 final List<URL> urls = new ArrayList<URL>(); field in class:ScatteredArchive
228 urls.addAll(builder.urls);
[all...]
/glassfish-3.1.2/appclient/client/acc-standalone/src/main/java/org/glassfish/appclient/client/acc/agent/
H A DACCAgentClassLoader.java86 private static URLClassLoader prepareLoader(final URL[] urls, final ClassLoader parent) { argument
91 return new URLClassLoader(urls, parent);
97 public ACCAgentClassLoader(URL[] urls) { argument
98 super(urls);
101 public ACCAgentClassLoader(URL[] urls, ClassLoader parent) { argument
102 super(urls, parent);
105 public ACCAgentClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) { argument
106 super(urls, parent, factory);
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DClassPathBuilder.java58 private final List<URL> urls = new ArrayList<URL>(); field in class:ClassPathBuilder
71 urls.add(jar.toURI().toURL());
134 return new URLClassLoader(urls.toArray(new URL[urls.size()]),parent);
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/
H A DEnhancerClassLoader.java155 * @param urls the classpath to search
157 protected EnhancerClassLoader(URL[] urls) { argument
158 super(urls);
160 ucp = new URLClassPath(urls);
161 checkUCP(urls);
167 * @param urls the classpath to search
169 protected EnhancerClassLoader(URL[] urls, argument
171 super(urls, loader);
173 ucp = new URLClassPath(urls);
174 checkUCP(urls);
195 EnhancerClassLoader(URL[] urls, Properties settings, PrintWriter out) argument
221 EnhancerClassLoader(URL[] urls, JDOMetaData metaData, Properties settings, PrintWriter out) argument
342 checkUCP(URL[] urls) argument
[all...]
/glassfish-3.1.2/web/jsf-connector/src/main/java/org/glassfish/faces/integration/
H A DGlassFishTldProvider.java144 URL[] urls = ((URLClassLoader)classLoader).getURLs();
145 if (urls != null && urls.length > 0) {
146 uris = new URI[urls.length];
147 for (int i = 0; i < urls.length; i++) {
149 uris[i] = urls[i].toURI();
152 msg = MessageFormat.format(msg, urls[i]);
/glassfish-3.1.2/web/jspcaching-connector/src/main/java/org/glassfish/jspcaching/integration/
H A DGlassFishTldProvider.java140 URL[] urls = ((URLClassLoader)classLoader).getURLs();
141 if (urls != null && urls.length > 0) {
142 uris = new URI[urls.length];
143 for (int i = 0; i < urls.length; i++) {
145 uris[i] = urls[i].toURI();
148 msg = MessageFormat.format(msg, urls[i]);
/glassfish-3.1.2/web/jstl-connector/src/main/java/org/glassfish/jstl/integration/
H A DGlassFishTldProvider.java126 URL[] urls = ((URLClassLoader)classLoader).getURLs();
127 if (urls != null && urls.length > 0) {
128 uris = new URI[urls.length];
129 for (int i = 0; i < urls.length; i++) {
131 uris[i] = urls[i].toURI();
134 msg = MessageFormat.format(msg, urls[i]);
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/loader/util/
H A DASClassLoaderUtil.java169 final URL [] urls = new URL[librariesStr.size()];
172 return getDeployParamLibrariesAsURLs(env, librariesStrArray, urls);
191 final URL [] urls = new URL[librariesStrArray.length];
192 return getDeployParamLibrariesAsURLs(env, librariesStrArray, urls);
196 URL[] urls) {
207 urls[i++] = url;
214 return urls;
240 * Returns an array of urls that contains ..
252 * @return an array of urls that contains all the valid dirs,
255 * @throws IOException if an i/o error while constructing the urls
195 getDeployParamLibrariesAsURLs(ServerEnvironment env, String[] librariesStrArray, URL[] urls) argument
[all...]
/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/common/util/admin/locking/
H A DReadLockTest.java105 Enumeration<URL> urls = getClass().getClassLoader().getResources("adminport.xml");
106 if (urls.hasMoreElements()) {
108 File f = new File(urls.nextElement().toURI());
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DJarScanner.java89 URL[] urls = new URL[1];
91 urls[0] = jarFile.getAbsoluteFile().toURL();
92 classLoader = new URLClassLoader(urls);
H A DDirectoryScanner.java110 URL[] urls = new URL[1];
112 urls[0] = directory.getAbsoluteFile().toURL();
113 classLoader = new URLClassLoader(urls);
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/
H A DResourceLoaderImpl.java124 ArrayList<URL> urls = new ArrayList<URL>();
126 urls.add(resources.nextElement());
128 return urls;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DClassLoaderFactory.java166 * @param urls Array of URLs to remote repositories, designing either JAR
177 URL urls[],
226 if (urls != null) {
227 for (int i = 0; i < urls.length; i++) {
228 list.add(urls[i].toString());
175 createClassLoader(File unpacked[], File packed[], URL urls[], ClassLoader parent) argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DRARUtils.java342 List<URL> urls = new ArrayList<URL>();
343 urls.add(f.toURI().toURL());
344 appendURLs(urls, f);
345 cl = new URLClassLoader(urls.toArray(new URL[urls.size()]), commonClassLoader);
363 private static void appendURLs(List<URL> urls, File f) throws MalformedURLException { argument
366 urls.add(file.toURI().toURL());
368 appendURLs(urls, file);
/glassfish-3.1.2/tests/quicklook/admin/src/test/admin/
H A DBaseAsadminTest.java70 protected Manifest invokeURLAndGetManifest(String urls) { argument
72 URL url = new URL(urls);
/glassfish-3.1.2/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/
H A DConsolePluginService.java178 // Loop through the urls and add them all
181 List<URL> urls = null; // URLs to TOC files w/i each plugin module
184 urls = entry.getValue();
185 for (URL url : urls) {
246 // Loop through the urls and add them all
249 List<URL> urls = null; // URLs to TOC files w/i each plugin module
252 urls = entry.getValue();
253 for (URL url : urls) {
323 Enumeration<URL> urls = null;
331 urls
[all...]
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/
H A DEmbeddedClassLoaderTest.java97 URL[] urls = new URL[1];
98 urls[0] = (new File("src/main/resources/toto.jar")).toURI().toURL();
99 URLClassLoader classLoader = new URLClassLoader(urls, EmbeddedClassLoaderTest.class.getClassLoader());
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/classfile/
H A DASMClassFileLoader.java81 ArrayList<URL> urls = new ArrayList<URL>();
86 urls.add(new File(entry).toURI().toURL());
94 cl = new URLClassLoader((URL[]) urls.toArray(new URL[0]), null);
H A DBCELClassFileLoader.java83 ArrayList<URL> urls = new ArrayList<URL>();
92 urls.add(new File(entry).toURI().toURL());
100 cl = new URLClassLoader((URL[]) urls.toArray(new URL[0]), null);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/jws/boot/
H A DClassPathManager.java233 URL [] urls = new URL[classNames.length];
239 urls[nextURL++] = url;
241 return urls;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/
H A DJmxServiceUrlsResource.java79 JMXServiceURL[] urls = (JMXServiceURL[]) mBeanServer.getAttribute(getBootAMXMBeanObjectName(), "JMXServiceURLs");
81 for (JMXServiceURL url : urls) {
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DCommonClassLoaderServiceImpl.java147 List<URL> urls = new ArrayList<URL>();
151 urls.add(f.toURI().toURL());
162 if (!urls.isEmpty()) {
166 urls.toArray(new URL[urls.size()]), APIClassLoader);
171 "urls = {0}", new Object[]{urls});
H A DServerLifecycleModule.java141 URL[] urls = getURLs();
143 if (urls != null) {
145 for(int i=0;i<urls.length;i++) {
146 sb.append(urls[i].toString());
153 this.urlClassLoader = new URLClassLoader(urls, classLoader);
/glassfish-3.1.2/common/glassfish-ee-api/src/main/java/com/sun/appserv/
H A DClassLoaderUtil.java77 private static final String URLCLASSPATH_URLS_FIELD_NAME = "urls"; // Stack of URL
202 Stack urls = (Stack) urlsField.get(ucp);
206 *The urls variable in the URLClassPath object holds URLs that have not yet
213 synchronized(urls) {
214 urls.clear();
238 *files - it uses the urls Stack for that - so leaving the path variable

Completed in 33 milliseconds

12