Class WeblogicTOPLinkDeploymentTool
java.lang.Object
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool
org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentTool
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentToolCOMPILER_EJB11, COMPILER_EJB20, DEFAULT_COMPILER, DEFAULT_WL51_DTD_LOCATION, DEFAULT_WL51_EJB11_DTD_LOCATION, DEFAULT_WL60_51_DTD_LOCATION, DEFAULT_WL60_DTD_LOCATION, DEFAULT_WL60_EJB11_DTD_LOCATION, DEFAULT_WL60_EJB20_DTD_LOCATION, DEFAULT_WL70_DTD_LOCATION, PUBLICID_EJB11, PUBLICID_EJB20, PUBLICID_WEBLOGIC_EJB510, PUBLICID_WEBLOGIC_EJB600, PUBLICID_WEBLOGIC_EJB700, WL_CMP_DD, WL_DDFields inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentToolANALYZER_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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddVendorFiles(Hashtable<String, File> ejbFiles, String ddPrefix) Add any vendor specific files which should be included in the EJB Jar.protected DescriptorHandlergetDescriptorHandler(File srcDir) Get the descriptor handler.voidsetToplinkdescriptor(String inString) Setter used to store the name of the toplink descriptor.voidsetToplinkdtd(String inString) Setter used to store the location of the toplink DTD file.voidCalled to validate that the tool parameters have been configured.Methods inherited from class org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTooladdSysproperty, createWLClasspath, getClassLoaderFromJar, getEjbcClass, getJvmDebugLevel, getWeblogicDescriptorHandler, isRebuildRequired, registerKnownDTDs, setArgs, setCompiler, setEjbcClass, setEJBdtd, setJvmargs, setJvmDebugLevel, setKeepgenerated, setKeepgeneric, setNewCMP, setNoEJBC, setOldCMP, setOutputDir, setRebuild, setSuffix, setWeblogicdtd, setWLClasspath, setWLdtd, writeJarMethods inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTooladdFileToJar, addSupportClasses, checkAndAddDependants, checkConfiguration, configure, createClasspath, getClassLoaderForBuild, getCombinedClasspath, getConfig, getDestDir, getJarBaseName, getLocation, getManifestFile, getPublicId, getTask, getVendorDDPrefix, log, needToRebuild, parseEjbFiles, processDescriptor, setClasspath, setDestdir, setGenericJarSuffix, setTask, usingBaseJarName
- 
Constructor Details- 
WeblogicTOPLinkDeploymentToolpublic WeblogicTOPLinkDeploymentTool()
 
- 
- 
Method Details- 
setToplinkdescriptorSetter used to store the name of the toplink descriptor.- Parameters:
- inString- the string to use as the descriptor name.
 
- 
setToplinkdtdSetter used to store the location of the toplink DTD file. This is expected to be an URL (file or otherwise). If running this on NT using a file URL, the safest thing would be to not use a drive spec in the URL and make sure the file resides on the drive that ANT is running from. This will keep the setting in the build XML platform independent.- Parameters:
- inString- the string to use as the DTD location.
 
- 
getDescriptorHandlerGet the descriptor handler.- Overrides:
- getDescriptorHandlerin class- GenericDeploymentTool
- Parameters:
- srcDir- the source file.
- Returns:
- the descriptor handler.
 
- 
addVendorFilesAdd any vendor specific files which should be included in the EJB Jar.- Overrides:
- addVendorFilesin class- WeblogicDeploymentTool
- Parameters:
- ejbFiles- the hashtable to add files to.
- ddPrefix- the prefix to use.
 
- 
validateConfiguredCalled to validate that the tool parameters have been configured.- Specified by:
- validateConfiguredin interface- EJBDeploymentTool
- Overrides:
- validateConfiguredin class- WeblogicDeploymentTool
- Throws:
- BuildException- if there is an error.
 
 
-