org.apache.tools.ant.taskdefs.optional.j2ee
Class JonasHotDeploymentTool
- HotDeploymentTool
public class JonasHotDeploymentTool
An Ant wrapper task for the weblogic.deploy tool. This is used
to hot-deploy J2EE applications to a running WebLogic server.
This is
not the same as creating the application
archive. This task assumes the archive (EAR, JAR, or WAR) file
has been assembled and is supplied as the "source" attribute.
In the end, this task assembles the commadline parameters and
runs the weblogic.deploy tool in a seperate JVM.
protected static String | DEFAULT_ORB - Description of the Field
|
Path | getClasspath() - gets the classpath field.
|
protected boolean | isActionValid() - Determines if the action supplied is valid.
|
void | setDavidhost(String inValue) - Set the host for the David ORB; required if
ORB==david.
|
void | setDavidport(int inValue) - Set the port for the David ORB; required if
ORB==david.
|
void | setJonasroot(File inValue) - set the jonas root directory (-Dinstall.root=).
|
void | setOrb(String inValue) -
Choose your ORB : RMI, JEREMIE, DAVID, ...; optional.
|
void | validateAttributes() - Validates the passed in attributes.
|
createClasspath , deploy , getClasspath , getPassword , getServer , getTask , getUserName , isActionValid , setClasspath , setPassword , setServer , setTask , setUserName , validateAttributes |
DEFAULT_ORB
protected static final String DEFAULT_ORB
Description of the Field
isActionValid
protected boolean isActionValid()
Determines if the action supplied is valid.
Valid actions are contained in the static array
VALID_ACTIONS
- isActionValid in interface GenericHotDeploymentTool
- true if the action attribute is valid, false if
not.
setDavidhost
public void setDavidhost(String inValue)
Set the host for the David ORB; required if
ORB==david.
inValue
- The new davidhost value
setDavidport
public void setDavidport(int inValue)
Set the port for the David ORB; required if
ORB==david.
inValue
- The new davidport value
setJonasroot
public void setJonasroot(File inValue)
set the jonas root directory (-Dinstall.root=). This
element is required.
inValue
- The new jonasroot value
setOrb
public void setOrb(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.
inValue
- RMI, JEREMIE, DAVID,...
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.