|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas.server.Server
This class implements an JOnAS Server.
Method Summary | |
int |
getActiveGroupCount()
get the estimated number of active groups in the JOnAS server's initial thread group |
protected int |
getActiveThreadsCount()
get the number of active threads in the JOnAS server's initial thread group |
static Server |
getInstance()
Get the unique instance. |
void |
kill()
Stop the server and stop the JVM (MBean method) |
static void |
main(java.lang.String[] args)
Server main routine. |
void |
start()
Start the server |
void |
stop()
Stop the server without stopping the JVM |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Server getInstance() throws java.lang.Exception
public void start() throws java.lang.Exception
protected int getActiveThreadsCount()
public int getActiveGroupCount()
public void stop() throws java.lang.Exception
public void kill() throws java.lang.Exception
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |