Searched refs:entryName (Results 1 - 25 of 43) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/deployment/archive/
H A DCompositeHandler.java64 public boolean accept(ReadableArchive source, String entryName); argument
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/
H A DClientJarMakerImpl.java181 String entryName = (String) e.nextElement();
184 if (entryName.endsWith(".xml") ||
185 subEntries.contains(entryName) ||
186 entryName.startsWith(subBundleDesc.getWsdlDir())) {
188 embeddedFiles.add(entryName);
191 copy(subSource, target, entryName);
207 String entryName = (String) itr.next();
208 copyWithOverride(subSource, subSource2, subTarget, entryName);
250 String entryName = (String) e.nextElement();
253 if (entryName
317 copy(ReadableArchive source, WritableArchive target, String entryName) argument
363 copyWithOverride(ReadableArchive normalSource, ReadableArchive overridingSource, WritableArchive target, String entryName) argument
402 inLibDirSubdirectory(String libDir, String entryName) argument
[all...]
H A DModuleClientJarMaker.java124 for (String entryName : libraries) {
127 subSource = source.getSubArchive(entryName);
185 String entryName = String.class.cast(e.nextElement());
186 if (!entryName.endsWith(".class")) {
190 ClientJarMakerUtils.copy(subSource, target, entryName);
H A DApplicationSignedJARManager.java197 final String entryName = entryNames.nextElement();
198 final String alias = signatureEntryName(entryName);
290 * @param entryName name to check
293 private String signatureEntryName(final String entryName) { argument
294 final int firstSlash = entryName.indexOf('/');
295 final int lastSlash = entryName.lastIndexOf('/');
296 return ((entryName.startsWith("META-INF/")
298 && (entryName.endsWith(".SF")))
300 ? entryName.substring(firstSlash + 1, entryName
[all...]
H A DClientJarMakerUtils.java420 * copy the entryName element from the source abstract archive into
424 ReadableArchive source, WritableArchive target, String entryName)
430 is = source.getEntry(entryName);
433 os = target.putNextEntry(entryName);
445 // entryName as a prefix.
446 for (Enumeration e = source.entries(entryName); e.hasMoreElements();) {
495 String entryName = String.class.cast(e.nextElement());
496 if (excludeList.contains(entryName)) {
500 copy(source, target, entryName);
423 copy( ReadableArchive source, WritableArchive target, String entryName) argument
/glassfish-3.1.2/extras/embedded/common/installroot-builder/src/main/java/org/glassfish/uberjar/builder/installroot/
H A DInstallRootBuilderUtil.java73 String entryName = entry.getName();
74 if (entryName.indexOf(resourceName) != -1 && !entryName.endsWith("/")) {
75 copy(cl.getResourceAsStream(entryName), installRoot,
76 entryName.substring(entryName.indexOf(resourceName) + resourceroot.length()));
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DCompositeArchive.java121 String entryName = original.nextElement();
122 if (filter.accept(delegate, entryName)) {
123 results.add(entryName);
134 String entryName = original.nextElement();
135 if (filter.accept(delegate, entryName)) {
136 results.add(entryName);
H A DUpgradeStartup.java437 String entryName = e.nextElement();
438 if (! entriesToExclude.contains(entryName)) {
439 InputStream sis = source.getEntry(entryName);
440 if (isSigFile(entryName)) {
442 + entryName + " from repackaged application: " +
450 os = target.putNextEntry(entryName);
451 FileUtils.copy(is, os, source.getEntrySize(entryName));
509 String entryName = e.nextElement();
510 if (isSigFile(entryName)) {
512 + entryName
584 isSigFile(String entryName) argument
[all...]
/glassfish-3.1.2/extras/embedded/common/instanceroot-builder/src/main/java/org/glassfish/uberjar/builder/instanceroot/
H A DInstanceRootBuilderUtil.java74 String entryName = entry.getName();
75 if (entryName.indexOf(resourceName) != -1 && !entryName.endsWith("/")) {
76 copy(cl.getResourceAsStream(entryName), instanceroot,
77 entryName.substring(entryName.indexOf(resourceName) + resourceName.length()));
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DAnnotationScanner.java112 String entryName = entries.nextElement();
113 if (entryName.endsWith(".class")) {
115 InputStream is = archive.getEntry(entryName);
121 entryName, e);
125 } else if (entryName.endsWith(".jar")) {
129 File file = new File(archiveRoot, entryName);
144 entryName, e);
154 logger.warning("Error scan jar entry" + entryName +
H A DGenericAnnotationDetector.java124 String entryName = entries.nextElement();
125 if (entryName.endsWith(".class")) {
127 InputStream is = archive.getEntry(entryName);
134 } else if (entryName.endsWith(".jar") &&
135 entryName.indexOf('/') == -1) {
140 jarSubArchive = archive.getSubArchive(entryName);
160 logger.warning("Error scan jar entry" + entryName +
/glassfish-3.1.2/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/
H A DJPASniffer.java115 String entryName = entries.nextElement();
116 if (entryName.endsWith(JAR_SUFFIX) && // a jar in lib dir
117 entryName.indexOf(SEPERATOR_CHAR, libLocation.length() + 1 ) == -1 ) { // && not WEB-INf/lib/foo/bar.jar
119 ReadableArchive jarInLib = parentArchive.getSubArchive(entryName);
125 } // if (entryName.endsWith(JAR_SUFFIX))
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/
H A DWeldCompositeSniffer.java85 String entryName = entries.nextElement();
87 if (entryName.endsWith(JAR_SUFFIX) &&
88 entryName.indexOf(SEPARATOR_CHAR, libLocation.length() + 1 ) == -1 ) {
90 ReadableArchive jarInLib = archive.getSubArchive(entryName);
H A DWeldSniffer.java122 String entryName = entries.nextElement();
124 if (entryName.endsWith(JAR_SUFFIX) &&
125 entryName.indexOf(SEPARATOR_CHAR, libLocation.length() + 1 ) == -1 ) {
127 ReadableArchive jarInLib = archive.getSubArchive(entryName);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/
H A DJarURIPattern.java82 String entryName = entry.getName();
83 if (pattern.matcher(entryName).matches()) {
84 results.add(entryName);
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deployment/deploy/shared/
H A DDeploymentPlanArchive.java174 String entryName = (String) e.nextElement();
176 String mangledName = entryName;
178 if (entryName.indexOf("sun-web.xml")!=-1 ||
179 entryName.indexOf("glassfish-web.xml")!=-1) {
182 if (subArchiveUri != null && entryName.startsWith(subArchiveUri)) {
185 if (entryName.endsWith(".dbschema")) {
193 if ((entryName.indexOf(".jar.")!=-1) ||
194 (entryName.indexOf(".war.")!=-1) ||
195 (entryName.indexOf(".rar."))!=-1) {
203 if (entryName
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DAnnotationDetector.java138 String entryName = entries.nextElement();
139 if (entryName.endsWith(".class")) {
140 if (containsAnnotation(archive, entryName)) {
148 public boolean containsAnnotation(ReadableArchive archive, String entryName) throws IOException { argument
149 return containsAnnotation(archive.getEntry(entryName), archive.getEntrySize(entryName));
H A DConnectorAnnotationDetector.java74 String entryName = entries.nextElement();
75 if (entryName.endsWith(".class")) {
76 if (containsAnnotation(archive, entryName)) {
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DGenericHandler.java87 String entryName = e.nextElement();
88 InputStream is = new BufferedInputStream(source.getEntry(entryName));
91 os = target.putNextEntry(entryName);
92 FileUtils.copy(is, os, source.getEntrySize(entryName));
/glassfish-3.1.2/web/web-embed/impl/src/main/java/org/glassfish/web/embed/impl/
H A DEmbeddedWebArchivist.java88 private String toClassName(String entryName) {
89 String name = entryName.substring("WEB-INF/classes/".length(), entryName.length()-".class".length());
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/collections/
H A DManifestUtils.java87 for(String entryName : entryNames) {
88 all.put(entryName, normalize(unwashed.get(entryName)));
/glassfish-3.1.2/common/scattered-archive-api/src/main/java/org/glassfish/embeddable/archive/
H A DAssembler.java205 String entryName = entryNamePrefix +
207 tranferFile(f, jos, entryName, false);
214 void tranferFile(File file, JarOutputStream jos, String entryName, boolean explodeFile) argument
219 transferFile(file, jos, entryName);
223 void transferFile(File file, JarOutputStream jos, String entryName) throws IOException { argument
224 if (file == null || jos == null || entryName == null) {
227 ZipEntry entry = new ZipEntry(entryName);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DNestedAppClientInfo.java319 String entryName = (String) en.nextElement();
320 if (entryName.endsWith(".jar")) {
321 String entry = appRoot + File.separator + entryName;
/glassfish-3.1.2/extras/embedded/common/osgi-main/src/main/java/org/glassfish/uberjar/osgimain/
H A DModuleExtractor.java210 String entryName = entry.getName();
211 entryName = entryName.substring(modulePath.length());
212 jos.putNextEntry(new JarEntry(entryName));
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/loader/
H A DASURLClassLoader.java634 * @param entryName name of the class
636 private byte[] loadClassData0(final URLEntry res, final String entryName) { argument
646 JarEntry entry = zip.getJarEntry(entryName);
655 entryName.replace('/', File.separatorChar));
700 final String entryName = name.replace('.', '/') + ".class";
701 classData.classBytes = PreprocessorUtil.processClass(entryName, classData.classBytes);
791 String entryName = name.replace('.', '/') + ".class";
795 if (!u.hasItem(entryName)) {
800 byte[] result = loadClassData0(u, entryName);
1381 String entryName
[all...]

Completed in 36 milliseconds

12