|
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.WsAdmin
com.ibm.websphere.ant.tasks.StartApplication
public class StartApplication
The wsStartApp task enables you to start an existing or newly installed application on a WebSphere Server or in a WebSphere Cell. This task is a subclass of the wsadmin task and shares many of the same attributes. This task is a wrapper for the ApplicationManager.startApplication() command of the wsadmin tool. Refer to the wsadmin documentation for information on this operation. The structure of the wsStartApp 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 | |
---|---|
StartApplication()
Constructor for StartApplication. |
Method Summary | |
---|---|
void |
execute()
|
void |
setApplication(java.lang.String application)
Sets the ear. |
void |
setCommand(java.lang.String command)
Disabled in this subclass |
void |
setLang(java.lang.String lang)
Disabled in this subclass |
void |
setNode(java.lang.String node)
Sets the name of the node containing the application. |
void |
setScript(java.lang.String script)
Disabled in this subclass |
void |
setServer(java.lang.String server)
Sets the name of the server containing the application. |
Methods inherited from class com.ibm.websphere.ant.tasks.WsAdmin |
---|
createArg, createJvmarg, isDebug, setConntype, setDebug, setFailonerror, setFileEncoding, setHost, setJvmMaxMemory, setPassword, setPort, setProfile, setProfileName, setProperties, setUser, setWasHome |
Methods inherited from class org.apache.tools.ant.Task |
---|
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 |
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 StartApplication()
Method Detail |
---|
public void setCommand(java.lang.String command)
setCommand
in class WsAdmin
command
- The command to setpublic void setLang(java.lang.String lang)
setLang
in class WsAdmin
lang
- The lang to setpublic void setScript(java.lang.String script)
setScript
in class WsAdmin
script
- The script to setpublic void setApplication(java.lang.String application)
ear
- The ear to setpublic void setServer(java.lang.String server)
server
- The name of the serverpublic void setNode(java.lang.String node)
node
- The name of the nodepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class WsAdmin
org.apache.tools.ant.BuildException
Task.execute()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |