|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.ibm.websphere.ant.tasks.ServerControl
com.ibm.websphere.ant.tasks.StopServer
public class StopServer
The wsStopServer task enables you to stop a standalone server instance. This is not used to stop a server controlled by DeploymentManager. Therefore, this task is useful for the Base Application Server, and to stop the Node Agent and/or DeploymentManager. If you wish to stop a server managed by the Deployment Manager, use the wsadmin task to execute a scripting command. The structure of the wsStopServer task is shown below:
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
StopServer()
|
Method Summary | |
---|---|
void |
addAdditionalArgs(java.util.ArrayList<java.lang.String> args)
|
void |
addJvmArgs(org.apache.tools.ant.taskdefs.Java jvm)
|
java.lang.String |
getMainClass()
|
java.lang.String |
getTaskName()
|
void |
setConntype(java.lang.String conntype)
Sets the conntype. |
void |
setPort(java.lang.String port)
Sets the port. |
Methods inherited from class com.ibm.websphere.ant.tasks.ServerControl |
---|
execute, isDebug, runScript, setDebug, setFailonerror, setFileEncoding, setJvmMaxMemory, setLogFile, setNoWait, setPassword, setProfileName, setQuiet, setReplaceLog, setServer, setStatusPort, setTimeout, setTrace, setUsername, setWasHome |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StopServer()
Method Detail |
---|
public java.lang.String getMainClass()
getMainClass
in class ServerControl
ServerControl.getMainClass()
public void addAdditionalArgs(java.util.ArrayList<java.lang.String> args)
addAdditionalArgs
in class ServerControl
ServerControl.addAdditionalArgs(ArrayList)
public void addJvmArgs(org.apache.tools.ant.taskdefs.Java jvm)
addJvmArgs
in class ServerControl
ServerControl.addJvmArgs(Java)
public java.lang.String getTaskName()
getTaskName
in class ServerControl
Task.getTaskName()
public void setConntype(java.lang.String conntype)
conntype
- The conntype to setpublic void setPort(java.lang.String port)
port
- The port to set
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |