|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.jbossas.servermanager.ServerManager
public class 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. |
List<Server> |
getServers()
Retreives a list of all running servers |
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. |
protected String |
getUdpGroup()
Get the udpGroup. |
void |
setJavaHome(String javaHome)
Set the javaHome. |
void |
setJbossHome(String jbossHome)
|
void |
setJvm(String jvm)
Set the jvm. |
void |
setUdpGroup(String udpGroup)
Set the udpGroup. |
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 - the name of the server
public List<Server> getServers()
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()
protected String getUdpGroup()
public void setUdpGroup(String udpGroup)
udpGroup - The udpGroup to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||