org.openejb.loader
Class SystemLoader

java.lang.Object
  extended byorg.openejb.loader.SystemLoader
All Implemented Interfaces:
Loader

public class SystemLoader
extends Object
implements Loader

Checks to see if OpenEJB is available through the system classpath. If it isn't, then the required libraries are added to the system classpath. A call is then made to the EmbeddedLoader to load OpenEJB fully.


Constructor Summary
SystemLoader()
           
 
Method Summary
 void load(Hashtable env)
          Checks to see if OpenEJB is available through the system classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLoader

public SystemLoader()
Method Detail

load

public void load(Hashtable env)
          throws Exception
Checks to see if OpenEJB is available through the system classpath. If it isn't, then the required libraries are added and OpenEJB is pulled in and instantiated.

Specified by:
load in interface Loader
Parameters:
env -
Throws:
Exception


Copyright © 1999-2006 OpenEJB. All Rights Reserved.