|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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.
HotDeploymentTool
,
AbstractHotDeploymentTool
,
ServerDeploy
Field Summary | |
protected static java.lang.String |
DEFAULT_ORB
Description of the Field |
Fields inherited from interface org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool |
ACTION_DELETE, ACTION_DEPLOY, ACTION_LIST, ACTION_UNDEPLOY, ACTION_UPDATE |
Constructor Summary | |
JonasHotDeploymentTool()
|
Method Summary | |
Path |
getClasspath()
gets the classpath field. |
protected boolean |
isActionValid()
Determines if the action supplied is valid. |
void |
setDavidhost(java.lang.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(java.io.File inValue)
set the jonas root directory (-Dinstall.root=). |
void |
setOrb(java.lang.String inValue)
Choose your ORB : RMI, JEREMIE, DAVID, ...; optional. |
void |
validateAttributes()
Validates the passed in attributes. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.j2ee.GenericHotDeploymentTool |
createArg, createJvmarg, deploy, getClassName, getJava, setClassName, setTask |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool |
createClasspath, getPassword, getServer, getTask, getUserName, setClasspath, setPassword, setServer, setUserName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool |
deploy, setTask |
Field Detail |
protected static final java.lang.String DEFAULT_ORB
Constructor Detail |
public JonasHotDeploymentTool()
Method Detail |
public void setDavidhost(java.lang.String inValue)
inValue
- The new davidhost valuepublic void setDavidport(int inValue)
inValue
- The new davidport valuepublic void setJonasroot(java.io.File inValue)
inValue
- The new jonasroot valuepublic void setOrb(java.lang.String inValue)
inValue
- RMI, JEREMIE, DAVID,...public Path getClasspath()
getClasspath
in class AbstractHotDeploymentTool
public void validateAttributes() throws BuildException
The rules are:
validateAttributes
in interface HotDeploymentTool
validateAttributes
in class GenericHotDeploymentTool
BuildException
- Description
of Exceptionprotected boolean isActionValid()
Valid actions are contained in the static array VALID_ACTIONS
isActionValid
in class GenericHotDeploymentTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |