classUtils.javassist.sample.evolve
Class DemoLoader
java.lang.Object
classUtils.javassist.sample.evolve.DemoLoader
public class DemoLoader
- extends java.lang.Object
DemoLoader is a class loader for running a program including
an updatable class. This simple loader allows only a single
class to be updatable. (Extending it for supporting multiple
updatable classes is easy.)
To run, type as follows:
% java sample.evolve.DemoLoader
Then DemoLoader launches sample.evolve.DemoServer with .
It also translates sample.evolve.WebPage, which sample.evolve.DemoServer
uses, so that it is an updable class.
Note: JDK 1.2 or later only.
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoLoader
public DemoLoader()
main
public static void main(java.lang.String[] args)
throws java.lang.Throwable
- Throws:
java.lang.Throwable