|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jbossas.servermanager.ServerController
public abstract class ServerController
Starts, stops, and (eventually) reboots server instances.
Method Summary | |
---|---|
static boolean |
isServerStarted(Server server)
Check if the server is fully intialized by trying to open a connection to tomcat. |
static void |
startServer(Server server,
ServerManager manager)
Start the server and pump its output and error streams. |
static void |
stopServer(Server server,
ServerManager manager)
Stop the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void startServer(Server server, ServerManager manager) throws IOException
server
- manager
-
IOException
public static boolean isServerStarted(Server server) throws IOException
server
- the server
IOException
- for any errorpublic static void stopServer(Server server, ServerManager manager) throws IOException
server
- manager
-
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |