|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.server.Server
This class implements an JOnAS Server.
Method Summary | |
int |
getActiveGroupCount()
|
protected int |
getActiveThreadsCount()
|
static Server |
getInstance()
Get the unique instance. |
J2EEServer |
getJ2EEServer()
Gets J2EEServer. |
java.lang.String |
initCarol(JProp props)
Initialize interception and carol |
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
java.lang.Exception
- if the Server can not be instanciatepublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- the arguments of the server
java.lang.Exception
- can not start serverpublic int getActiveGroupCount()
protected int getActiveThreadsCount()
public J2EEServer getJ2EEServer()
public java.lang.String initCarol(JProp props) throws java.lang.Exception
props
- the JOnAS properties
java.lang.Exception
- if carol init failedpublic void kill() throws java.lang.Exception
java.lang.Exception
- if the server can't be destroyedpublic void start() throws java.lang.Exception
java.lang.Exception
- if server can't be startedpublic void stop() throws java.lang.Exception
java.lang.Exception
- if the server can't be stopped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |