This class instruments a given class file in order for it be scripted. A class modified
by this script generator can have its methods edited and the logic available without having
to redeploy or compile the class.
author: Chad Brandon
getInstance(String scriptWrapperName) Retrieves an instance of this class and uses the given script wrapper with
the given scriptWrapperName.
Parameters: scriptWrapperName - the fully qualified name of the script wrapper class to use.
public void
modifyClass(String scriptDirectory, Class existingClass) Modifies the existingClass (basically inserts the script wrapper class into
the class).
Retrieves an instance of this class and uses the given script wrapper with
the given scriptWrapperName.
Parameters: scriptWrapperName - the fully qualified name of the script wrapper class to use. the instance of this class.
modifyClass
public void modifyClass(String scriptDirectory, Class existingClass)(Code)
Modifies the existingClass (basically inserts the script wrapper class into
the class).
Parameters: scriptDirectory - the directory in which to find the script. Parameters: existingClass - the class to modify.