/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | ManifestResource.java | 91 public ManifestResource(String resourceName, Manifest manifest, argument 95 processManifest(manifest); 209 private void processManifest(Manifest manifest) { argument 210 availableExtensions = getAvailableExtensions(manifest); 211 requiredExtensions = getRequiredExtensions(manifest); 219 * @param manifest Manifest to be parsed 224 private ArrayList<Extension> getRequiredExtensions(Manifest manifest) { argument 226 Attributes attributes = manifest.getMainAttributes(); 266 * @param manifest Manifest to be parsed 271 private HashMap<String, Extension> getAvailableExtensions(Manifest manifest) { argument [all...] |
H A D | ExtensionValidator.java | 221 Manifest manifest = new Manifest(inputStream); 225 (sm.getString("extensionValidator.web-application-manifest"), 226 manifest, ManifestResource.WAR); 299 * @return true if manifest resource file requirements are met 420 * @return The WAR's or JAR's manifest 425 Manifest manifest = null; 430 manifest = jin.getManifest(); 443 return manifest; 448 * it to the container's manifest resources. 450 * @param jarFile The system JAR whose manifest t [all...] |
/glassfish-3.1.2/extras/osgi-container/src/main/java/org/glassfish/extras/osgicontainer/ |
H A D | OSGiArchiveHandler.java | 89 Manifest manifest = getManifest(archive); 90 return manifest!=null && ((manifest.getMainAttributes().getValue("Bundle-Name")!=null) 91 || manifest.getMainAttributes().getValue("Bundle-SymbolicName")!=null);
|
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/ |
H A D | ResourceEntry.java | 108 public Manifest manifest = null; field in class:ResourceEntry
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/app/ |
H A D | EARFileUsesClassPath.java | 70 Manifest manifest=getVerifierContext().getAbstractArchive().getManifest(); 72 if (manifest!=null) 73 cp=manifest.getMainAttributes().getValue(Attributes.Name.CLASS_PATH);
|
/glassfish-3.1.2/tests/quicklook/weld/osgiweld/src/java/osgiweld/ |
H A D | OsgiWeldServlet.java | 87 Manifest manifest = jar.getManifest(); 91 if (command.equals("manifest")) { 92 // Make sure all manifest attrs are there 93 Set<Object> keys = manifest.getMainAttributes().keySet(); 95 if (!keys.containsAll(ATTRS) || !checkBundleSymbolicName(manifest.getMainAttributes())) { 100 String exportedValues = manifest.getMainAttributes().getValue(new Attributes.Name("Export-Package")); 109 String importedValues = manifest.getMainAttributes().getValue(new Attributes.Name("Import-Package"));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/packaging/ |
H A D | Archive.java | 69 private Manifest manifest; field in class:Archive 135 manifest = jar.getManifest(); 155 if (manifest == null) { 161 manifest = new Manifest(mis); 167 manifest = jar.getManifest(); 172 if (manifest == null) 173 manifest = new Manifest(); 175 return manifest; 229 Manifest manifest = getManifest(); 230 String extensions = manifest [all...] |
H A D | ExtensionRef.java | 74 * @param manifest Manifest file to be read. 76 * mentioned in the Extension-List manifest attribute. 78 public ExtensionRef(Manifest manifest, String extName) { argument 79 Attributes attrs = manifest.getMainAttributes();
|
/glassfish-3.1.2/appclient/server/connector/src/main/java/org/glassfish/appclient/server/connector/ |
H A D | AppClientSniffer.java | 99 Manifest manifest = location.getManifest(); 100 if (manifest != null && 101 manifest.getMainAttributes().containsKey(Attributes.Name.MAIN_CLASS)) {
|
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deployment/deploy/shared/ |
H A D | OutputJarArchive.java | 75 private Manifest manifest = null; field in class:OutputJarArchive 144 * @return the manifest information for this abstract archive 147 if (manifest == null) { 148 manifest = new Manifest(); 150 return manifest;
|
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/ |
H A D | InstalledLibrariesResolver.java | 70 // extension name and specification version in their manifest. 81 * @param manifest Manifest File 85 public static boolean resolveDependencies(Manifest manifest, String archiveUri) { argument 88 getInstalledLibraries(archiveUri, manifest, true, extDirsLibsStore); 93 getInstalledLibraries(archiveUri, manifest, true, appLibsDirLibsStore); 204 Manifest manifest = archive.getManifest(); 208 getInstalledLibraries(archive.getURI().toString(), manifest, false, appLibsDirLibsStore); 223 manifest = jis.getManifest(); 224 if (manifest != null) { 227 getInstalledLibraries(archive.getURI().toString(), manifest, fals 241 getInstalledLibraries(String archiveURI, Manifest manifest, boolean strict, Map<Extension, String> libraryStore) argument [all...] |
H A D | DeploymentUtils.java | 436 Manifest manifest) throws IOException { 437 return getManifestLibraries(context.getSource(), manifest); 444 private static List<URL> getManifestLibraries(ReadableArchive archive, Manifest manifest) { argument 458 // add libraries referenced through manifest 460 manifest, appRootPath); 435 getManifestLibraries(DeploymentContext context, Manifest manifest) argument
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/util/ |
H A D | BundledOptPkgHasDependencies.java | 74 Manifest manifest=new Manifest(new FileInputStream(new File(explodedJarPath+File.separator+JarFile.MANIFEST_NAME))); 75 String depClassPath=manifest.getMainAttributes().getValue(Attributes.Name.CLASS_PATH); 86 result.failed(entry + " contains Class-Path in it's manifest.");
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ssl/ |
H A D | JarSigner.java | 148 Manifest manifest = retrieveManifest(jf); 150 appendAttributes(manifestHeader, manifest, null); 156 if ((je.isDirectory() && manifest.getAttributes(name) == null) 168 appendAttributes(me, manifest, name); 259 * Retrieve manifest from jar, create a default template if none exists. 266 Manifest manifest = jf.getManifest(); 267 if (manifest == null) { 268 manifest = new Manifest(); 269 Attributes mainAttributes = manifest.getMainAttributes(); 274 Map<String, Attributes> entriesMap = manifest 291 appendAttributes(StringBuilder manifestEntry, Manifest manifest, String entry) argument [all...] |
/glassfish-3.1.2/admingui/updatecenter/src/main/java/org/glassfish/uc/admingui/ |
H A D | UpdateCenterHandlers.java | 150 Manifest manifest = img.getManifest(fmri); 151 details.put("category", getCategory(manifest)); 152 details.put("bytes", "" + manifest.getPackageSize() ); 153 details.put("pkgSize", getPkgSize(manifest)); 157 String desc = manifest.getAttribute(PKG_DESC); 159 desc = manifest.getAttribute(DESC_LONG); 161 desc = manifest.getAttribute(PKG_SUMMARY); 163 desc = manifest.getAttribute(DESC); 175 private static String getCategory(Manifest manifest){ argument 176 String attr = manifest 600 getPkgSize(Manifest manifest) argument [all...] |
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/ |
H A D | AbstractArchiveHandler.java | 93 Manifest manifest = getManifest(context.getSource()); 94 return DeploymentUtils.getManifestLibraries(context, manifest); 97 "Exception while getting manifest classpath: ", ioe);
|
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/services/ |
H A D | SMFService.java | 90 public static final String MANIFEST_HOME = "/var/svc/manifest/application/GlassFish/"; 284 /** Returns the absolute location of the manifest file as SMF understands it. 480 final File manifest = new File(manifestPath); 481 final File manifestParent = manifest.getParentFile(); 482 final String msg = sm.getString("smfLeftoverFiles", manifest.getParentFile().getAbsolutePath()); 497 manifest.getParentFile().mkdirs(); 525 final File manifest = new File(getManifestFilePath()); 526 if (manifest.exists()) { 527 manifest.delete(); 528 manifest [all...] |
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/ |
H A D | ModuleDescriptor.java | 90 * manifest information for this module 92 private transient Manifest manifest; field in class:ModuleDescriptor 213 * @return the @see Manifest manifest information 217 return manifest; 221 * Sets the @see Manifest manifest information for this 225 manifest = m;
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/ |
H A D | AppClientArchivist.java | 238 // prepare the manifest file to add the main class entry 239 if (manifest == null) { 240 manifest = new Manifest(); 242 manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, MANIFEST_VERSION_VALUE); 243 manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS, 250 * @return the manifest attribute Main-class
|
H A D | Archivist.java | 107 protected Manifest manifest; field in class:Archivist 934 // manifest file 935 if (manifest != null) { 937 manifest.write(new DataOutputStream(os)); 1389 * sets the manifest file for this archive 1391 * @param m manifest to use at saving time 1394 manifest = m; 1398 * @return the manifest file for this archive 1401 return manifest; 1411 if (manifest [all...] |
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | CommonClassLoaderServiceImpl.java | 82 * we look at their manifest entry and skip the ones that have an entry 233 Manifest manifest = jar.getManifest(); 234 if (manifest != null) { 235 String exclude = manifest.getMainAttributes().
|
/glassfish-3.1.2/deployment/javaee-core/src/main/java/org/glassfish/javaee/core/deployment/ |
H A D | JavaEEDeployer.java | 267 // get the object type from the application manifest file if 272 Manifest manifest = context.getSource().getManifest(); 273 if(manifest==null) return null; 274 Attributes attrs = manifest.getMainAttributes();
|
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/ |
H A D | AppClientGroupFacadeGenerator.java | 219 Manifest manifest = facadeArchive.getManifest(); 220 Attributes mainAttrs = manifest.getMainAttributes(); 227 //Now manifest is ready to be written into the facade jar 229 manifest.write(manifestOutputStream);
|
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/loader/util/ |
H A D | ASClassLoaderUtil.java | 76 /** The manifest file name from an archive. */ 386 * Returns the manifest file for the given root path. 400 * @return the manifest file for the given module 430 * Returns the class path (if any) from the given manifest file as an 433 * @param manifest manifest file of an archive 437 * an empty list if given manifest is null 439 public static List<URL> getManifestClassPathAsURLs(Manifest manifest, argument 442 if (manifest != null) { 443 Attributes mainAttributes = manifest [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/ |
H A D | DriverLoader.java | 606 * This method is used for jar files that do not have a manifest file to 620 * @return null if no manifest entry found. 627 Manifest manifest = jarFile.getManifest(); 628 if(manifest != null) { 629 Attributes mainAttributes = manifest.getMainAttributes(); 638 logger.log(Level.WARNING, "Exception while reading manifest file : ", ex);
|