/** * @return the location of the DeploymentDescriptor file for a * particular type of J2EE Archive */ public String getDeploymentDescriptorPath() { return getStandardDDFile().getDeploymentDescriptorPath(); }
/** * @return the location of the DeploymentDescriptor file for a * particular type of J2EE Archive */ public String getDeploymentDescriptorPath() { return getStandardDDFile().getDeploymentDescriptorPath(); }
/** * writes the standard deployment descriptor to an output stream * * @param os stream to write out the descriptors */ public void writeStandardDeploymentDescriptors(OutputStream os) throws IOException { getStandardDDFile().write(getDescriptor(), os); }
final DeploymentDescriptorFile ddFile = moduleArchivist.getStandardDDFile();
is = archive.getEntry(getStandardDDFile().getDeploymentDescriptorPath()); if (is != null) { DeploymentDescriptorFile<T> ddFile = getStandardDDFile(); ddFile.setXMLValidation(getXMLValidation()); ddFile.setXMLValidationLevel(validationLevel);
/** * writes the standard deployment descriptors to an abstract archive * * @param out archive to write to */ public void writeStandardDeploymentDescriptors(WritableArchive out) throws IOException { getStandardDDFile().setArchiveType(getModuleType()); OutputStream os = out.putNextEntry(getDeploymentDescriptorPath()); standardDD.write(getDescriptor(), os); out.closeEntry(); }
getStandardDDFile().setArchiveType(getModuleType()); File altDDFile = archive.getArchiveMetaData( DeploymentProperties.ALT_DD, File.class);
DeploymentDescriptorFile ddFile = newArchivist.getStandardDDFile(); ddFile.setXMLValidation(newArchivist.getXMLValidation()); ddFile.setXMLValidationLevel(newArchivist.getXMLValidationLevel());
DeploymentDescriptorFile ddFile = newArchivist.getStandardDDFile(); ddFile.setXMLValidation(newArchivist.getXMLValidation()); ddFile.setXMLValidationLevel(newArchivist.getXMLValidationLevel());
getStandardDDFile().getDeploymentDescriptorPath(); String explodedArchiveName = new File(archive.getURI()).getName();
getStandardDDFile().getDeploymentDescriptorPath(); String explodedArchiveName = new File(archive.getURI()).getName();
moduleArchivist.getStandardDDFile();