| java.lang.Object org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool org.apache.tools.ant.taskdefs.optional.ejb.JbossDeploymentTool
JbossDeploymentTool | public class JbossDeploymentTool extends GenericDeploymentTool (Code) | | The deployment tool to add the jboss specific deployment descriptor to the ejb jar file.
Jboss only requires one additional file jboss.xml and does not require any additional
compilation.
version: 1.0 See Also: EjbJar.createJboss |
JBOSS_CMP10D | final protected static String JBOSS_CMP10D(Code) | | |
JBOSS_CMP20D | final protected static String JBOSS_CMP20D(Code) | | |
addVendorFiles | protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)(Code) | | Add any vendor specific files which should be included in the
EJB Jar.
Parameters: ejbFiles - the hashtable of files to populate. Parameters: ddPrefix - the prefix to use. |
getVendorOutputJarFile | File getVendorOutputJarFile(String baseName)(Code) | | Get the vendor specific name of the Jar that will be output. The modification date
of this jar will be checked against the dependent bean classes.
|
setSuffix | public void setSuffix(String inString)(Code) | | Setter used to store the suffix for the generated JBoss jar file.
Parameters: inString - the string to use as the suffix. |
validateConfigured | public void validateConfigured() throws BuildException(Code) | | Called to validate that the tool parameters have been configured.
throws: BuildException - If the Deployment Tool's configuration isn'tvalid since: ant 1.6 |
Methods inherited from org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool | protected void addFileToJar(JarOutputStream jStream, File inputFile, String logicalFilename) throws BuildException(Code)(Java Doc) protected void addSupportClasses(Hashtable ejbFiles)(Code)(Java Doc) protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)(Code)(Java Doc) protected void checkAndAddDependants(Hashtable checkEntries) throws BuildException(Code)(Java Doc) protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException(Code)(Java Doc) public void configure(EjbJar.Config config)(Code)(Java Doc) public Path createClasspath()(Code)(Java Doc) protected ClassLoader getClassLoaderForBuild()(Code)(Java Doc) protected Path getCombinedClasspath()(Code)(Java Doc) protected EjbJar.Config getConfig()(Code)(Java Doc) protected DescriptorHandler getDescriptorHandler(File srcDir)(Code)(Java Doc) protected File getDestDir()(Code)(Java Doc) protected String getJarBaseName(String descriptorFileName)(Code)(Java Doc) protected Location getLocation()(Code)(Java Doc) protected File getManifestFile(String prefix)(Code)(Java Doc) protected String getPublicId()(Code)(Java Doc) protected Task getTask()(Code)(Java Doc) public String getVendorDDPrefix(String baseName, String descriptorFileName)(Code)(Java Doc) File getVendorOutputJarFile(String baseName)(Code)(Java Doc) protected void log(String message, int level)(Code)(Java Doc) protected boolean needToRebuild(Hashtable ejbFiles, File jarFile)(Code)(Java Doc) protected Hashtable parseEjbFiles(String descriptorFileName, SAXParser saxParser) throws IOException, SAXException(Code)(Java Doc) public void processDescriptor(String descriptorFileName, SAXParser saxParser)(Code)(Java Doc) protected void registerKnownDTDs(DescriptorHandler handler)(Code)(Java Doc) public void setClasspath(Path classpath)(Code)(Java Doc) public void setDestdir(File inDir)(Code)(Java Doc) public void setGenericJarSuffix(String inString)(Code)(Java Doc) public void setTask(Task task)(Code)(Java Doc) protected boolean usingBaseJarName()(Code)(Java Doc) public void validateConfigured() throws BuildException(Code)(Java Doc) protected void writeJar(String baseName, File jarfile, Hashtable files, String publicId) throws BuildException(Code)(Java Doc)
|
|
|