public class JonasHotDeploymentTool extends GenericHotDeploymentTool implements HotDeploymentTool
In the end, this task assembles the commandline parameters and runs the weblogic.deploy tool in a separate JVM.
HotDeploymentTool
,
AbstractHotDeploymentTool
,
ServerDeploy
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ORB
Description of the Field
|
ACTION_DELETE, ACTION_DEPLOY, ACTION_LIST, ACTION_UNDEPLOY, ACTION_UPDATE
Constructor and Description |
---|
JonasHotDeploymentTool() |
Modifier and Type | Method and Description |
---|---|
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.
|
createArg, createJvmarg, deploy, getClassName, getJava, setClassName, setTask
createClasspath, getPassword, getServer, getTask, getUserName, setClasspath, setPassword, setServer, setUserName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deploy, setTask
protected static final java.lang.String DEFAULT_ORB
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
- if something goes wrongprotected boolean isActionValid()
Valid actions are contained in the static array VALID_ACTIONS
isActionValid
in class GenericHotDeploymentTool