classUtils.javassist.sample.evolve
Class VersionManager
java.lang.Object
   classUtils.javassist.sample.evolve.VersionManager
classUtils.javassist.sample.evolve.VersionManager
- public class VersionManager 
- extends java.lang.Object
Runtime system for class evolution
 
 
| Method Summary | 
| static java.lang.Class | initialVersion(java.lang.String[] params)
 | 
| static java.lang.Object | make(java.lang.Class clazz,
     java.lang.Object[] args)make() performs the object creation of the updatable classes.
 | 
| static void | update(java.lang.String qualifiedClassname)For updating the definition of class my.X, say:
 VersionManager.update("my.X");
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
latestVersionField
public static final java.lang.String latestVersionField
- See Also:
- Constant Field Values
VersionManager
public VersionManager()
update
public static void update(java.lang.String qualifiedClassname)
                   throws CannotUpdateException
- For updating the definition of class my.X, say:
 VersionManager.update("my.X");
 
- 
- Throws:
- CannotUpdateException
 
initialVersion
public static java.lang.Class initialVersion(java.lang.String[] params)
- 
 
make
public static java.lang.Object make(java.lang.Class clazz,
                                    java.lang.Object[] args)
- make() performs the object creation of the updatable classes.
 The expression "new " is replaced with a call
 to this method.
 
-