Class WeblogicTOPLinkDeploymentTool

All Implemented Interfaces:
EJBDeploymentTool

public class WeblogicTOPLinkDeploymentTool extends WeblogicDeploymentTool
Deployment tool for WebLogic TOPLink.
  • Constructor Details

    • WeblogicTOPLinkDeploymentTool

      public WeblogicTOPLinkDeploymentTool()
  • Method Details

    • 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.
    • getDescriptorHandler

      protected DescriptorHandler getDescriptorHandler(File srcDir)
      Get the descriptor handler.
      Overrides:
      getDescriptorHandler in class GenericDeploymentTool
      Parameters:
      srcDir - the source file.
      Returns:
      the descriptor handler.
    • addVendorFiles

      protected void addVendorFiles(Hashtable<String,File> ejbFiles, String ddPrefix)
      Add any vendor specific files which should be included in the EJB Jar.
      Overrides:
      addVendorFiles in class WeblogicDeploymentTool
      Parameters:
      ejbFiles - the hashtable to add files to.
      ddPrefix - the prefix to use.
    • validateConfigured

      public void validateConfigured() throws BuildException
      Called to validate that the tool parameters have been configured.
      Specified by:
      validateConfigured in interface EJBDeploymentTool
      Overrides:
      validateConfigured in class WeblogicDeploymentTool
      Throws:
      BuildException - if there is an error.