| java.lang.Object org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool org.apache.tools.ant.taskdefs.optional.j2ee.GenericHotDeploymentTool org.apache.tools.ant.taskdefs.optional.j2ee.JonasHotDeploymentTool
Method Summary | |
public Path | getClasspath() gets the classpath field. | protected boolean | isActionValid() Determines if the action supplied is valid. | public void | setDavidhost(String inValue) Set the host for the David ORB; required if
ORB==david. | public void | setDavidport(int inValue) Set the port for the David ORB; required if
ORB==david. | public void | setJonasroot(File inValue) set the jonas root directory (-Dinstall.root=). | public void | setOrb(String inValue) Choose your ORB : RMI, JEREMIE, DAVID, ...; optional.
If omitted, it defaults
to the one present in classpath. | public void | validateAttributes() Validates the passed in attributes. |
DEFAULT_ORB | final protected static String DEFAULT_ORB(Code) | | Description of the Field
|
getClasspath | public Path getClasspath()(Code) | | gets the classpath field.
A Path representing the "classpath" attribute. |
isActionValid | protected boolean isActionValid()(Code) | | Determines if the action supplied is valid.
Valid actions are contained in the static array
VALID_ACTIONS
true if the action attribute is valid, false ifnot. |
setDavidhost | public void setDavidhost(String inValue)(Code) | | Set the host for the David ORB; required if
ORB==david.
Parameters: inValue - The new davidhost value |
setDavidport | public void setDavidport(int inValue)(Code) | | Set the port for the David ORB; required if
ORB==david.
Parameters: inValue - The new davidport value |
setJonasroot | public void setJonasroot(File inValue)(Code) | | set the jonas root directory (-Dinstall.root=). This
element is required.
Parameters: inValue - The new jonasroot value |
setOrb | public void setOrb(String inValue)(Code) | | 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.
Parameters: inValue - RMI, JEREMIE, DAVID,... |
validateAttributes | public void validateAttributes() throws BuildException(Code) | | Validates the passed in attributes.
The rules are:
- If action is "deploy" or "update" the "application"
and "source" attributes must be supplied.
- If action is "delete" or "undeploy" the
"application" attribute must be supplied.
exception: BuildException - Descriptionof Exception |
|
|