ccs.loader
Class Loader0

java.lang.Object
  extended by ccs.loader.Loader0

public class Loader0
extends java.lang.Object

Checkpoint Loader. Creates the library map classloader. In former times, this invoked ccs.utils.Loader to create the CDBClassLoader, which is why this is called Loader0 rather than just Loader. However, that never worked reliably, so now we use library maps for everything. and ccs.utils.Loader no longer exists.


Method Summary
static Loader0 getDefault()
           
 java.lang.ClassLoader getMapLoader()
          Returns the classloader used to load mapped libraries and Checkpoint Applications stored in library JARs - ie. pretty much everything.
static void main(java.lang.String[] args)
          Launch an app using the classloader to load it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMapLoader

public java.lang.ClassLoader getMapLoader()
Returns the classloader used to load mapped libraries and Checkpoint Applications stored in library JARs - ie. pretty much everything. This should be the delegation parent for subsequent classloader chains.

Returns:
The classloader.

getDefault

public static Loader0 getDefault()
Returns:
The loader. This is a singleton.

main

public static void main(java.lang.String[] args)
Launch an app using the classloader to load it. Any messages are not I18N'd here, since the I18N machinery is part of the Checkpoint Kernel proper, and can't be loaded yet.

Parameters:
args - Args[0] is the name of the application class. Any others are passed through to the application's main() method.