|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.rtsjx.Compiler
public final class Compiler
The Compiler class is provided to support the
Initialization Time Compilation (ITC for short) via application
code. For a complete explanation of ITC, please refer to the Compilation Guide found in the Java RTS documentation.
| Method Summary | |
|---|---|
static void |
mark(java.lang.ClassLoader loader,
java.net.URL classList,
java.net.URL methodList,
boolean initialize)
This method marks a set of methods that must be compiled at the time the class that declares them is initialized. |
static void |
preinit(java.lang.ClassLoader loader,
java.net.URL classList)
This method triggers the pre-initialization of a set of classes specified via an URL. |
static void |
preload(java.lang.ClassLoader loader,
java.net.URL classList)
This method triggers the pre-loading of a set of classes specified via an URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void preload(java.lang.ClassLoader loader,
java.net.URL classList)
loader - The class loader where the classes should
be loaded. When this parameter is null, the default
application class loader is used.classList - A URL where to find the list of classes that must be pre-loaded
java.lang.IllegalArgumentException - if the classList URL is invalid.
public static void preinit(java.lang.ClassLoader loader,
java.net.URL classList)
loader - The class loader where the classes should be loaded. When this parameter is null, the default
application class loader is used.classList - A URL where to find the list of classes that must be preloaded
java.lang.IllegalArgumentException - if the classList URL is invalid.
java.lang.ExceptionInInitializerError - if an exception is encountered while initializing a class in the list
public static void mark(java.lang.ClassLoader loader,
java.net.URL classList,
java.net.URL methodList,
boolean initialize)
loader - The class loader where the classes should be loaded. When this parameter is null, the default
application class loader is used.classList - A URL where to find the class listmethodList - A URL where to find the list of method that must be marked.initialize - Determines whether the set of classes in
classList must be pre-initialized before the call to mark
returns.
java.lang.IllegalArgumentException - if the classList URL or the methodList URL are invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||