org.objectweb.jonas.server
Class Bootstrap

java.lang.Object
  extended byorg.objectweb.jonas.server.Bootstrap

public class Bootstrap
extends java.lang.Object

This class load all the jars needed to start JOnAS and after this, it launch the JOnAS server (Server class).

Author:
Ludovic Bert (initial developer), Florent Benoit (initial developer), Philippe Durieux (new jonas jar files architecture)

Constructor Summary
Bootstrap()
           
 
Method Summary
static java.net.URL[] getResources(boolean defcl)
          Get the list of the resources to load when launching JOnAS.
static void main(java.lang.String[] args)
          Server main routine (Load all the jars needed to start jonas)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bootstrap

public Bootstrap()
Method Detail

getResources

public static java.net.URL[] getResources(boolean defcl)
                                   throws java.lang.Exception
Get the list of the resources to load when launching JOnAS.

Parameters:
defcl - the default classloader
Returns:
the list of the resources to load when launching JOnAS.
Throws:
java.lang.Exception - if a resource cannot be found.

main

public static void main(java.lang.String[] args)
Server main routine (Load all the jars needed to start jonas)

Parameters:
args - the list of the args to give to the bootstrap class.