Searched defs:jarFile (Results 1 - 17 of 17) sorted by relevance

/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/
H A DJarScanner.java62 File jarFile; field in class:JarScanner
67 public void process(File jarFile, Object bundleDesc, ClassLoader loader) throws java.io.IOException { argument
68 this.jarFile = jarFile;
69 JarFile jf = new JarFile(jarFile);
84 initTypes(jarFile);
91 urls[0] = jarFile.getAbsoluteFile().toURL();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/gui/
H A DMainFrame.java108 public static JFrame getDeploytoolVerifierFrame(File jarFile) { argument
114 if (jarFile != null) {
116 jarFile.getAbsolutePath());
H A DControlPanel.java550 public void addJarFile(File jarFile) { argument
551 listModel.addElement(jarFile);
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DJarUtil.java193 public static void extractJar(File jarFile, String destDir) throws IOException { argument
194 java.util.jar.JarFile jar = new java.util.jar.JarFile(jarFile);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/
H A DApplicationFactory.java100 * @param jarFile the archive file
103 public Application openArchive(URI jarFile) argument
106 return openArchive(jarFile, false);
115 * @param jarFile the archive file
119 public Application openArchive(Archivist archivist, URI jarFile, boolean handleRuntimeInfo) argument
125 ReadableArchive archive = archiveFactory.openArchive(jarFile);
256 * @param jarFile the archive file
260 public Application openArchive(URI jarFile, boolean handleRuntimeInfo) argument
263 ReadableArchive in = archiveFactory.openArchive(jarFile);
265 return openArchive(archivist, jarFile, handleRuntimeInf
272 getApplicationName(File jarFile) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DModuleContentLinker.java100 public static URL createJarUrl(File jarFile, String entry) argument
102 return new URL("jar:" + jarFile.toURI().toURL() + "!/" + entry);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DExtensionValidator.java450 * @param jarFile The system JAR whose manifest to add
452 private static void addSystemResource(File jarFile) throws IOException { argument
454 Manifest manifest = getManifest(new FileInputStream(jarFile));
457 = new ManifestResource(jarFile.getAbsolutePath(),
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deployment/deploy/shared/
H A DDeploymentPlanArchive.java67 JarFile jarFile = null; field in class:DeploymentPlanArchive
91 jarFile = new JarFile(f);
111 if (jarFile!=null) {
112 jarFile.close();
113 jarFile=null;
143 if (jarFile!=null) {
144 return jarFile.getJarEntry(name);
162 for (Enumeration e = jarFile.entries();e.hasMoreElements();) {
231 if (jarFile==null) {
235 dpArchive.jarFile
[all...]
H A DInputJarArchive.java78 volatile protected JarFile jarFile=null; field in class:InputJarArchive
81 // within a jar file, the jarFile will be null and this
125 if (jarFile!=null) {
126 jarFile.close();
127 jarFile=null;
213 if (jarFile!=null) {
214 return jarFile.getJarEntry(name);
226 if (jarFile!=null) {
227 ZipEntry ze = jarFile.getEntry(name);
241 if (jarFile!
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/impl/
H A DModuleScanner.java190 * This add all classes in given jarFile to be scanned.
191 * @param jarFile
193 protected void addScanJar(File jarFile) throws IOException { argument
199 if ( ! jarFile.exists()) {
202 scannedURI.add(jarFile.toURI());
204 classParser.parse(jarFile, null);
207 logger.log(Level.WARNING, ze.getMessage() + ": file path: " + jarFile.getPath());
212 * This add all classes in given jarFile to be scanned.
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/zip/
H A DZipFile.java204 * @param jarFile locaton of the jar file where the jar entry
212 File jarFile) throws ZipFileException
217 File parent = jarFile.getParentFile();
231 FileOutputStream fos = new FileOutputStream(jarFile);
211 extractJar(String jarEntryName, JarFile earFile, File jarFile) argument
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DPersistenceUnitDescriptor.java166 public void addJarFile(String jarFile) { argument
167 jarFiles.add(jarFile);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/
H A DReportHandler.java419 private File extractResultsFileToTmpDir(String jarFile) { argument
422 tmpJarFile = new File(jarFile);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DAppClientInfo.java380 private static URL createJarUrl(File jarFile, String entry) argument
382 return new URL("jar:" + jarFile.toURI().toURL() + "!/" + entry);
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DExtensionFileManager.java206 * @param jarFile a File object for the jar to use
213 JarFile jarFile = null;
215 jarFile = new JarFile(file);
216 ExtensionKey key = getDefinedExtensionKey(jarFile);
222 if (jarFile != null) {
223 jarFile.close();
342 *@param jarFile the JarFile of interest
346 private Attributes getMainAttrs(JarFile jarFile) throws IOException { argument
349 Manifest mf = jarFile.getManifest();
378 *@param jarFile th
382 getDefinedExtensionKey(JarFile jarFile) argument
[all...]
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DConnectorsUtil.java886 private static void extractJar(File jarFile, String destDir) throws IOException { argument
887 java.util.jar.JarFile jar = new java.util.jar.JarFile(jarFile);
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/
H A DWebappClassLoader.java668 public synchronized void addJar(String jar, JarFile jarFile, File file) argument
673 if (jarFile == null)
725 result2[jarFiles.length] = jarFile;
2278 private void extractResource(JarFile jarFile) { argument
2280 Enumeration<JarEntry> entries = jarFile.entries();
2303 is = jarFile.getInputStream(jarEntry2);

Completed in 44 milliseconds