| |
|
| java.lang.Object org.objectweb.jonas.server.Server
Server | public class Server (Code) | | This class implements an JOnAS Server.
author: Philippe Coq author: Philippe Durieux author: Jeff Mesnil author: Regis Le Brettevillois - Libelis / JOnAS team - evidian Service as author: org.objectweb.jonas.service.Service 02/04/25 author: Sebastien Chassande-Barrioz sebastien.chassande@inrialpes.fr Monolog author: for traces author: Adriana Danes 03/01/20: -Highlight configuration properties 03/03/..: author: -Force jmx service startup -Create and register the JonAS author: configuration MBean. This MBean manages JOnAS persistent |
getInstance | public static Server getInstance()(Code) | | Get the unique instance. Create it at first call.
unique instance. |
getJ2EEServer | public J2EEServer getJ2EEServer()(Code) | | Gets J2EEServer.
J2EEServer |
initCarol | public String initCarol(JProp props, String serverName) throws Exception(Code) | | Initialize interception and carol
Parameters: props - the JOnAS properties Parameters: serverName - the name of the server for creating mbeans list of protocols throws: Exception - if carol init failed |
isStarted | public static boolean isStarted()(Code) | | Returns the status of the server started or not. |
jvmInfos | public static String jvmInfos()(Code) | | information on JVM currently used |
kill | public void kill() throws Exception(Code) | | Stop the server and stop the JVM (MBean method)
throws: Exception - if the server can't be destroyed |
main | public static void main(String[] args) throws Exception(Code) | | Server main routine. No args.
Parameters: args - the arguments of the server exception: Exception - can not start server |
stop | public void stop() throws Exception(Code) | | Stop the server without stopping the JVM
throws: Exception - if the server can't be stopped |
|
|
|