In the end, this task assembles the commandline parameters and runs the weblogic.deploy tool in a separate JVM.
org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool , org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool , org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
| Modifier and Type | Field and Description |
|---|---|
| private String | davidHost
Description of the Field |
| private int | davidPort
Description of the Field |
| protected static final String | DEFAULT_ORB
Description of the Field |
| private static final String | JONAS_DEPLOY_CLASS_NAME
The classname of the tool to run * |
| private File | jonasroot
Description of the Field |
| private String | orb
Description of the Field |
| private static final String[] | VALID_ACTIONS
Hides org. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Path | Returns: A Path representing the "classpath" attribute.Overrides org. |
| protected boolean | Returns: true if the action attribute is valid, false if not.Overrides org. |
| public void | setDavidhost(final String
The new davidhost value inValue)Set the host for the David ORB; required if ORB==david. |
| public void | setDavidport(final int
The new davidport value inValue)Set the port for the David ORB; required if ORB==david. |
| public void | setJonasroot(final File
The new jonasroot value inValue)set the jonas root directory (-Dinstall.root=). |
| public void | |
| public void | validateAttributes()
Overrides org. Implements org. |
| davidHost | back to summary |
|---|---|
| private String davidHost Description of the Field | |
| davidPort | back to summary |
|---|---|
| private int davidPort Description of the Field | |
| DEFAULT_ORB | back to summary |
|---|---|
| protected static final String DEFAULT_ORB Description of the Field | |
| JONAS_DEPLOY_CLASS_NAME | back to summary |
|---|---|
| private static final String JONAS_DEPLOY_CLASS_NAME The classname of the tool to run * | |
| jonasroot | back to summary |
|---|---|
| private File jonasroot Description of the Field | |
| orb | back to summary |
|---|---|
| private String orb Description of the Field | |
| VALID_ACTIONS | back to summary |
|---|---|
| private static final String[] VALID_ACTIONS Hides org. All the valid actions that weblogic.deploy permits * | |
| JonasHotDeploymentTool | back to summary |
|---|---|
| public JonasHotDeploymentTool() | |
| getClasspath | back to summary |
|---|---|
| public Path getClasspath() Overrides org. gets the classpath field. | |
| isActionValid | back to summary |
|---|---|
| protected boolean isActionValid() Overrides org. Determines if the action supplied is valid. Valid actions are contained in the static array VALID_ACTIONS
| |
| setDavidhost | back to summary |
|---|---|
| public void setDavidhost(final String inValue) Set the host for the David ORB; required if ORB==david.
| |
| setDavidport | back to summary |
|---|---|
| public void setDavidport(final int inValue) Set the port for the David ORB; required if ORB==david.
| |
| setJonasroot | back to summary |
|---|---|
| public void setJonasroot(final File inValue) set the jonas root directory (-Dinstall.root=). This element is required.
| |
| setOrb | back to summary |
|---|---|
| public void setOrb(final String inValue) Choose your ORB : RMI, JEREMIE, DAVID, ...; optional. If omitted, it defaults to the one present in classpath. The corresponding JOnAS JAR is automatically added to the classpath. If your orb is DAVID (RMI/IIOP) you must specify davidhost and davidport properties.
| |
| validateAttributes | back to summary |
|---|---|
| public void validateAttributes() throws BuildException Overrides org. Implements org. Validates the passed in attributes. The rules are:
| |