org.objectweb.jonas.server
Class Server

java.lang.Object
  |
  +--org.objectweb.jonas.server.Server

public class Server
extends java.lang.Object

This class implements an JOnAS Server.


Method Summary
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

getInstance

public static Server getInstance()
Get the unique instance. Create it at first call.

start

public void start()
           throws java.lang.Exception
Start the server

stop

public void stop()
          throws java.lang.Exception
Stop the server without stopping the JVM

kill

public void kill()
          throws java.lang.Exception
Stop the server and stop the JVM (MBean method)

main

public static void main(java.lang.String[] args)
Server main routine. No args.