Class JbossDeploymentTool
java.lang.Object
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
org.apache.tools.ant.taskdefs.optional.ejb.JbossDeploymentTool
- All Implemented Interfaces:
EJBDeploymentTool
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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
ANALYZER_CLASS_FULL, ANALYZER_CLASS_SUPER, ANALYZER_FULL, ANALYZER_NONE, ANALYZER_SUPER, DEFAULT_ANALYZER, DEFAULT_BUFFER_SIZE, EJB_DD, JAR_COMPRESS_LEVEL, MANIFEST, META_DIR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addVendorFiles
(Hashtable<String, File> ejbFiles, String ddPrefix) Add any vendor specific files which should be included in the EJB Jar.void
Setter used to store the suffix for the generated JBoss jar file.void
Called to validate that the tool parameters have been configured.Methods inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
addFileToJar, addSupportClasses, checkAndAddDependants, checkConfiguration, configure, createClasspath, getClassLoaderForBuild, getCombinedClasspath, getConfig, getDescriptorHandler, getDestDir, getJarBaseName, getLocation, getManifestFile, getPublicId, getTask, getVendorDDPrefix, log, needToRebuild, parseEjbFiles, processDescriptor, registerKnownDTDs, setClasspath, setDestdir, setGenericJarSuffix, setTask, usingBaseJarName, writeJar
-
Field Details
-
JBOSS_DD
- See Also:
-
JBOSS_CMP10D
- See Also:
-
JBOSS_CMP20D
- See Also:
-
-
Constructor Details
-
JbossDeploymentTool
public JbossDeploymentTool()
-
-
Method Details
-
setSuffix
Setter used to store the suffix for the generated JBoss jar file.- Parameters:
inString
- the string to use as the suffix.
-
addVendorFiles
Add any vendor specific files which should be included in the EJB Jar.- Overrides:
addVendorFiles
in classGenericDeploymentTool
- Parameters:
ejbFiles
- the hashtable of files to populate.ddPrefix
- the prefix to use.
-
validateConfigured
Called to validate that the tool parameters have been configured.- Specified by:
validateConfigured
in interfaceEJBDeploymentTool
- Overrides:
validateConfigured
in classGenericDeploymentTool
- Throws:
BuildException
- If the Deployment Tool's configuration isn't valid- Since:
- ant 1.6
-