public interface AntDeploymentProvider
The j2eeserver uses OptionalDeploymentManagerFactory
to optains an
instance of the AntDeploymentProvider from the server integration plugin.
Modifier and Type | Method and Description |
---|---|
File |
getDeploymentPropertiesFile()
Return the server instance specific deployment properties file used by
the deployment build script generated by the
AntDeploymentProvider.writeDeploymentScript(OutputStream,Object) . |
void |
writeDeploymentScript(OutputStream os,
Object moduleType)
Generates the Ant deployment build script for the given module type to
the specified output stream.
|
void writeDeploymentScript(OutputStream os, Object moduleType) throws IOException
See AntDeploymentHelper.writeDeploymentScript(File,Object,String)
for what targets and properties is the Ant deployment build script required
to define and what predefined properties it might use.
os
- the output stream the deployment build script should be generated
to.moduleType
- the module type the build script should handle. Use the
constants defined in the J2eeModule
.IOException
- if a problem during generating the build script occurs.File getDeploymentPropertiesFile()
AntDeploymentProvider.writeDeploymentScript(OutputStream,Object)
.