|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.test.util.server.ServerManager
A ServerManager.
| Constructor Summary | |
ServerManager()
Create a new ServerManager. |
|
| Method Summary | |
void |
addServer(Server newServer)
Add a server |
String |
getJavaExecutable()
Get the jvm. |
String |
getJBossHome()
Get the jboss home. |
Server |
getServer(String name)
Get the server by name. |
int |
getShutdownTimeout()
How long to wait (in seconds) for a server to shutdown |
protected String |
getStartClasspath()
The classpath to run the server |
int |
getStartupTimeout()
How long to wait (in seconds) for a server to startup |
protected String |
getStopClasspath()
The classpath used to stop the server. |
void |
setJavaHome(String javaHome)
Set the javaHome. |
void |
setJbossHome(String jbossHome)
|
void |
setJvm(String jvm)
Set the jvm. |
void |
startServer(String serverName)
Start the named server. |
void |
stopServer(String name)
Stop the named server |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServerManager()
| Method Detail |
public void addServer(Server newServer)
newServer - public Server getServer(String name)
name -
public void startServer(String serverName)
throws IOException
serverName -
IOException
public void stopServer(String name)
throws IOException
name -
IOException
public String getJavaExecutable()
throws IOException
IOExceptionpublic void setJvm(String jvm)
jvm - The jvm to set.public void setJavaHome(String javaHome)
javaHome - The javaHome to set.public void setJbossHome(String jbossHome)
jbossHome - The jBossHome to set.protected String getStartClasspath()
protected String getStopClasspath()
public String getJBossHome()
public int getShutdownTimeout()
public int getStartupTimeout()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||