org.apache.tools.ant.taskdefs.optional.ejb
Class WLStop
Shuts down a WebLogic server.
To shut down an instance you must supply both a username and
a password.
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(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(String s) - Set the delay (in seconds) before shutting down the server;
optional.
|
void | setPassword(String s) - The password for the account specified in the
user parameter; required
|
void | setUrl(String s) - Set the URL to which the weblogic server is listening
for T3 connections; required.
|
void | setUser(String s) - The username of the account which will be used to shutdown the server;
required.
|
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
createClasspath
public Path createClasspath()
The classpath to be used with the Java Virtual Machine that runs the Weblogic
Shutdown command;
execute
public void execute()
throws BuildException
Do the work.
The work is actually done by creating a separate JVM to run the weblogic admin task
This approach allows the classpath of the helper task to be set.
- execute in interface Task
setBEAHome
public void setBEAHome(File beaHome)
The location of the BEA Home; implicitly
selects Weblogic 6.0 shutdown; optional.
beaHome
- the BEA Home directory.
setClasspath
public void setClasspath(Path path)
The classpath to be used with the Java Virtual Machine that runs the Weblogic
Shutdown command;
path
- the classpath to use when executing the weblogic admin task.
setDelay
public void setDelay(String s)
Set the delay (in seconds) before shutting down the server;
optional.
setPassword
public void setPassword(String s)
The password for the account specified in the
user parameter; required
setUrl
public void setUrl(String s)
Set the URL to which the weblogic server is listening
for T3 connections; required.
setUser
public void setUser(String s)
The username of the account which will be used to shutdown the server;
required.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.