Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.ejb

public Class WeblogicTOPLinkDeploymentTool

extends WeblogicDeploymentTool
Class Inheritance
Imports
java.io.File, java.util.Hashtable, org.apache.tools.ant.BuildException, .Project

Deployment tool for WebLogic TOPLink.

Field Summary

Modifier and TypeField and Description
private static final String
private String
private String
Inherited from org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool:
COMPILER_EJB11COMPILER_EJB20DEFAULT_COMPILERDEFAULT_WL51_DTD_LOCATIONDEFAULT_WL51_EJB11_DTD_LOCATIONDEFAULT_WL60_51_DTD_LOCATIONDEFAULT_WL60_DTD_LOCATIONDEFAULT_WL60_EJB11_DTD_LOCATIONDEFAULT_WL60_EJB20_DTD_LOCATIONDEFAULT_WL70_DTD_LOCATIONPUBLICID_EJB11PUBLICID_EJB20PUBLICID_WEBLOGIC_EJB510PUBLICID_WEBLOGIC_EJB600PUBLICID_WEBLOGIC_EJB700WL_CMP_DDWL_DD

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addVendorFiles(Hashtable<String, File>
the hashtable to add files to.
ejbFiles
,
String
the prefix to use.
ddPrefix
)

Overrides org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.addVendorFiles.

Add any vendor specific files which should be included in the EJB Jar.
protected DescriptorHandler

Returns:

the descriptor handler.
getDescriptorHandler
(File
the source file.
srcDir
)

Overrides org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.getDescriptorHandler.

Deprecated as a consequence of DescriptorHandler being deprecated.
Get the descriptor handler.
public void
setToplinkdescriptor(String
the string to use as the descriptor name.
inString
)

Setter used to store the name of the toplink descriptor.

public void
setToplinkdtd(String
the string to use as the DTD location.
inString
)

Setter used to store the location of the toplink DTD file.

public void
Inherited from org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool:
addSyspropertycreateWLClasspathgetClassLoaderFromJargetEjbcClassgetJvmDebugLevelgetVendorOutputJarFilegetWeblogicDescriptorHandlerisRebuildRequiredregisterKnownDTDssetArgssetCompilersetEjbcClasssetEJBdtdsetJvmargssetJvmDebugLevelsetKeepgeneratedsetKeepgenericsetNewCMPsetNoEJBCsetOldCMPsetOutputDirsetRebuildsetSuffixsetWeblogicdtdsetWLClasspathsetWLdtdwriteJar

Field Detail

TL_DTD_LOCback to summary
private static final String TL_DTD_LOC
toplinkDescriptorback to summary
private String toplinkDescriptor
toplinkDTDback to summary
private String toplinkDTD

Constructor Detail

WeblogicTOPLinkDeploymentToolback to summary
public WeblogicTOPLinkDeploymentTool()

Method Detail

addVendorFilesback to summary
protected void addVendorFiles(Hashtable<String, File> ejbFiles, String ddPrefix)

Overrides org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.addVendorFiles.

Add any vendor specific files which should be included in the EJB Jar.

Parameters
ejbFiles:Hashtable<String, File>

the hashtable to add files to.

ddPrefix:String

the prefix to use.

Annotations
@Override
getDescriptorHandlerback to summary
protected DescriptorHandler getDescriptorHandler(File srcDir)

Overrides org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.getDescriptorHandler.

Deprecated

as a consequence of DescriptorHandler being deprecated. See corresponding docs for further information.

Get the descriptor handler.

Parameters
srcDir:File

the source file.

Returns:DescriptorHandler

the descriptor handler.

Annotations
@Override
setToplinkdescriptorback to summary
public void setToplinkdescriptor(String inString)

Setter used to store the name of the toplink descriptor.

Parameters
inString:String

the string to use as the descriptor name.

setToplinkdtdback to summary
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:String

the string to use as the DTD location.

validateConfiguredback to summary
public void validateConfigured() throws BuildException

Overrides org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.validateConfigured.

Implements org.apache.tools.ant.taskdefs.optional.ejb.EJBDeploymentTool.validateConfigured.

Called to validate that the tool parameters have been configured.

Annotations
@Override
Exceptions
BuildException:
if there is an error.