org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool , org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool , org.apache.tools.ant.taskdefs.optional.j2ee.GenericHotDeploymentTool , org.apache.tools.ant.taskdefs.optional.j2ee.WebLogicHotDeploymentTool
| Modifier and Type | Field and Description |
|---|---|
| private String | action
The action to be performed. |
| private File | source
The source (fully-qualified path) to the component being deployed |
| private List | vendorTools
The vendor specific tool for deploying the component |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addGeneric(GenericHotDeploymentTool
An instance of GenericHotDeployment tool, passed in by Ant. tool)Creates a generic deployment tool. |
| public void | addJonas(JonasHotDeploymentTool
An instance of JonasHotDeployment tool, passed in by Ant. tool)Creates a JOnAS deployment tool, for deployment to JOnAS servers. |
| public void | addWeblogic(WebLogicHotDeploymentTool
An instance of WebLogicHotDeployment tool, passed in by Ant. tool)Creates a WebLogic deployment tool, for deployment to WebLogic servers. |
| public void | |
| public String | |
| public File | Returns: A File object representing the "source" attribute.Returns the source field (the path/filename of the component to be deployed. |
| public void | |
| public void |
| action | back to summary |
|---|---|
| private String action The action to be performed. IE: "deploy", "delete", etc... | |
| source | back to summary |
|---|---|
| private File source The source (fully-qualified path) to the component being deployed | |
| vendorTools | back to summary |
|---|---|
| private List<AbstractHotDeploymentTool> vendorTools The vendor specific tool for deploying the component | |
| ServerDeploy | back to summary |
|---|---|
| public ServerDeploy() | |
| addGeneric | back to summary |
|---|---|
| public void addGeneric(GenericHotDeploymentTool tool) Creates a generic deployment tool. Ant calls this method on creation to handle embedded "generic" elements in the ServerDeploy task.
| |
| addJonas | back to summary |
|---|---|
| public void addJonas(JonasHotDeploymentTool tool) Creates a JOnAS deployment tool, for deployment to JOnAS servers. Ant calls this method on creation to handle embedded "jonas" elements in the ServerDeploy task.
| |
| addWeblogic | back to summary |
|---|---|
| public void addWeblogic(WebLogicHotDeploymentTool tool) Creates a WebLogic deployment tool, for deployment to WebLogic servers. Ant calls this method on creation to handle embedded "weblogic" elements in the ServerDeploy task.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute the task. This method calls the deploy() method on each of the vendor-specific tools
in the
| |
| getAction | back to summary |
|---|---|
| public String getAction() Returns the action field.
| |
| getSource | back to summary |
|---|---|
| public File getSource() Returns the source field (the path/filename of the component to be deployed.
| |
| setAction | back to summary |
|---|---|
| public void setAction(String action) The action to be performed, usually "deploy"; required. Some tools support additional actions, such as "delete", "list", "undeploy", "update"...
| |
| setSource | back to summary |
|---|---|
| public void setSource(File source) The filename of the component to be deployed; optional depending upon the tool and the action.
| |