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 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(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.
|
createArg, createJvmarg, deploy, getClassName, getJava, setClassName, setTask
createClasspath, getPassword, getServer, getTask, getUserName, setClasspath, setPassword, setServer, setUserName
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deploy, setTask
protected static final String DEFAULT_ORB
public Path getClasspath()
getClasspath
in class AbstractHotDeploymentTool
protected boolean isActionValid()
Valid actions are contained in the static array VALID_ACTIONS
isActionValid
in class GenericHotDeploymentTool
public void setDavidhost(String inValue)
inValue
- The new davidhost valuepublic void setDavidport(int inValue)
inValue
- The new davidport valuepublic void setJonasroot(File inValue)
inValue
- The new jonasroot valuepublic void setOrb(String inValue)
inValue
- RMI, JEREMIE, DAVID,...public void validateAttributes() throws BuildException
The rules are:
validateAttributes
in interface HotDeploymentTool
validateAttributes
in class GenericHotDeploymentTool
BuildException
- Description
of Exception