Searched defs:jar (Results 1 - 11 of 11) sorted by relevance

/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DClassPathBuilder.java66 * Adds a single jar.
68 public void addJar(File jar) throws IOException { argument
69 if(!jar.exists())
70 throw new IOException("No such file: "+jar);
71 urls.add(jar.toURI().toURL());
85 * A directory that contains a bunch of jar files.
99 return pathname.getPath().endsWith(".jar");
113 * (like "foo-*.jar") and adds them to the classpath.
/glassfish-3.1.2/tests/quicklook/weld/extensions/src/java/jar/
H A DExtensionBean.java41 package jar; package
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/jar/
H A DJarHandler.java41 package com.sun.enterprise.deploy.jar;
68 * ArchiveHandler implementation for jar files
76 return "jar";
99 // but I handle everything that looks like a jar...
115 // let's see if it's defined in glassfish-ejb-jar.xml
127 // let's see if it's defined in sun-ejb-jar.xml
140 // compatibility of v2 jar visibility
169 File f = new File(baseDir, "META-INF/glassfish-ejb-jar.xml");
204 rootElement = "glassfish-ejb-jar";
205 input = archive.getEntry( "META-INF/glassfish-ejb-jar
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/classfile/
H A DClosureCompilerImpl.java180 * @param jar whose classes it will try to build closure of. This is a
182 * jar file and computes their closure.
184 public boolean buildClosure(java.util.jar.JarFile jar) throws IOException { argument
185 return imp.buildClosure(jar);
222 "mypkg.MySessionBean which is packaged in myejb.jar run\n" + // NOI18N
224 " path_to_j2ee.jar"+File.pathSeparator+"path_to_myejb.jar"+ // NOI18N
H A DClosureCompilerImplBase.java128 * @param jar whose classes it will try to build closure of. This is a
130 * jar file and computes their closure.
132 public boolean buildClosure(java.util.jar.JarFile jar) throws IOException { argument
134 for (java.util.Enumeration entries = jar.entries();
136 String clsName = ((java.util.jar.JarEntry) entries.nextElement()).getName();
144 }//for all jar entries
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/packaging/
H A DArchive.java58 import java.util.jar.Attributes;
59 import java.util.jar.JarFile;
60 import java.util.jar.Manifest;
134 public Archive(JarFile jar) throws IOException { argument
135 manifest = jar.getManifest();
136 path = new File(jar.getName());
139 //path represnets either a dir or a jar file path
165 JarFile jar = new JarFile(path);
167 manifest = jar.getManifest();
169 jar
[all...]
H A DClassPathBuilder.java54 import java.util.jar.JarFile;
62 * dependency of a jar file. Then it makes a classpath out of the same
74 public static String buildClassPathForJar(JarFile jar) throws IOException { argument
75 return buildClassPathForJar(new Archive(jar));
86 //It adds the incoming jar file to the classpath.
87 public static String buildClassPathForJar(Archive jar) throws IOException { argument
88 logger.entering(myClassName, "buildClassPathForJar", jar); // NOI18N
90 jar.getPath() + File.pathSeparator);
92 Archive[] archives = jar.getBundledArchives();
96 convertToClassPath(getInstalledArchivesForJar(jar)));
128 getInstalledArchivesForJar(Archive jar) argument
247 buildClassPathForEar(Archive jar) argument
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DScatteredArchive.java51 import java.util.jar.Manifest;
52 import java.util.jar.JarFile;
54 import java.util.jar.JarEntry;
187 * Creates a new scattered jar file using this builder instance configuration.
188 * The resulting instance will behave like a jar file when introspected by the
191 * @return new scattered instance jar file
194 return new ScatteredArchive(this, Builder.type.jar);
212 jar, war enum constant in enum:ScatteredArchive.Builder.type
270 JarFile jar = getJarWithEntry(arg);
271 if (jar !
[all...]
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/osgi/
H A DBundleProvisioner.java94 * @param jar jar to be installed as bundle
95 * @return Location that should be used while installing this jar as a bundle
97 String makeLocation(Jar jar); argument
108 * Is this jar managed by us?
110 * @param jar
113 boolean isManaged(Jar jar); argument
138 * @param jar
141 Integer getStartLevel(Jar jar); argument
179 * compares them with the current set of jar file
292 getStartLevel(Jar jar) argument
369 getBundleJar(Jar jar) argument
373 addBundle(Jar jar) argument
377 removeBundle(Jar jar) argument
389 getBundle(Jar jar) argument
475 makeLocation(Jar jar) argument
663 makeLocation(Jar jar) argument
700 isManaged(Jar jar) argument
718 getStartLevel(Jar jar) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/loader/
H A DASURLClassLoader.java72 import java.util.jar.Attributes;
73 import java.util.jar.JarEntry;
74 import java.util.jar.JarFile;
75 import java.util.jar.Manifest;
219 // closes the jar handles and sets the url entries to null
305 // checks the manifest if a jar
312 *Clean up the unused entry or it could hold open a jar file.
459 *locking the jar file until JVM exit.
468 URL ret = new URL("jar", null /* host */, -1 /* port */, res.source + "!/" + name, handler);
593 * Checks the manifest of the given jar fil
600 checkManifest(JarFile jar, File file) argument
[all...]
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/
H A DWebappClassLoader.java94 import java.util.jar.Attributes;
95 import java.util.jar.Attributes.Name;
96 import java.util.jar.JarEntry;
97 import java.util.jar.JarFile;
98 import java.util.jar.Manifest;
503 if( path.startsWith("jndi:") || path.startsWith("jar:jndi:") ) {
668 public synchronized void addJar(String jar, JarFile jarFile, File file) argument
671 if (jar == null)
679 logger.finer("addJar(" + jar + ")");
686 if ((jarPath != null) && (jar
[all...]

Completed in 115 milliseconds