org.apache.tools.ant.taskdefs.optional.ejb
public class WLStop extends Task
description, location, project
Constructor and Description |
---|
WLStop() |
Modifier and Type | Method and Description |
---|---|
Path |
createClasspath()
The classpath to be used with the Java Virtual Machine that runs the Weblogic
Shutdown command;
|
void |
execute()
Do the work.
|
void |
setBEAHome(java.io.File beaHome)
The location of the BEA Home; implicitly
selects Weblogic 6.0 shutdown; optional.
|
void |
setClasspath(Path path)
The classpath to be used with the Java Virtual Machine that runs the Weblogic
Shutdown command;
|
void |
setDelay(java.lang.String s)
Set the delay (in seconds) before shutting down the server;
optional.
|
void |
setPassword(java.lang.String s)
The password for the account specified in the
user parameter; required
|
void |
setUrl(java.lang.String s)
Set the URL to which the weblogic server is listening
for T3 connections; required.
|
void |
setUser(java.lang.String s)
The username of the account which will be used to shutdown the server;
required.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void execute() throws BuildException
execute
in class Task
BuildException
- if someting goes wrong with the buildpublic void setClasspath(Path path)
path
- the classpath to use when executing the weblogic admin task.public Path createClasspath()
public void setUser(java.lang.String s)
s
- the username.public void setPassword(java.lang.String s)
s
- the password.public void setUrl(java.lang.String s)
s
- the url.public void setDelay(java.lang.String s)
s
- the selay.public void setBEAHome(java.io.File beaHome)
beaHome
- the BEA Home directory.