HotDeploymentToolpublic 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 | Description |
|---|---|---|
protected static java.lang.String |
DEFAULT_ORB |
Description of the Field
|
ACTION_DELETE, ACTION_DEPLOY, ACTION_LIST, ACTION_UNDEPLOY, ACTION_UPDATE| Constructor | Description |
|---|---|
JonasHotDeploymentTool() |
| Modifier and Type | Method | 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.
|
createClasspath, getPassword, getServer, getTask, getUserName, setClasspath, setPassword, setServer, setUserNamecreateArg, createJvmarg, deploy, getClassName, getJava, setClassName, setTaskdeploy, setTaskprotected 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 AbstractHotDeploymentToolpublic void validateAttributes()
throws BuildException
The rules are:
validateAttributes in interface HotDeploymentToolvalidateAttributes in class GenericHotDeploymentToolBuildException - if something goes wrongprotected boolean isActionValid()
Valid actions are contained in the static array VALID_ACTIONS
isActionValid in class GenericHotDeploymentTool