org.apache.tools.ant.taskdefs.optional.ejb

Class WeblogicTOPLinkDeploymentTool

public class WeblogicTOPLinkDeploymentTool extends WeblogicDeploymentTool

Method Summary
protected voidaddVendorFiles(Hashtable ejbFiles, String ddPrefix)
Add any vendor specific files which should be included in the EJB Jar.
protected DescriptorHandlergetDescriptorHandler(File srcDir)
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.
voidvalidateConfigured()
Called to validate that the tool parameters have been configured.

Method Detail

addVendorFiles

protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)
Add any vendor specific files which should be included in the EJB Jar.

getDescriptorHandler

protected DescriptorHandler getDescriptorHandler(File srcDir)

setToplinkdescriptor

public void setToplinkdescriptor(String inString)
Setter used to store the name of the toplink descriptor.

Parameters: inString the string to use as the descriptor name.

setToplinkdtd

public void setToplinkdtd(String inString)
Setter 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.

validateConfigured

public void validateConfigured()
Called to validate that the tool parameters have been configured.
Copyright