Package io.ebean.enhance.ant
Class OfflineFileTransform
java.lang.Object
io.ebean.enhance.ant.OfflineFileTransform
Transforms class files when they are on the file system.
Typically run as part of an ANT task rather than when Ebean is running.
-
Constructor Summary
ConstructorsConstructorDescriptionOfflineFileTransform(Transformer transformer, ClassLoader classLoader, String inDir) Enhance the class file and replace the file with the the enhanced version of the class. -
Method Summary
Modifier and TypeMethodDescriptionvoidProcess the packageNames as comma delimited string.voidProcess all the comma delimited list of packages.voidRegister a listener to receive event notification
-
Constructor Details
-
OfflineFileTransform
Enhance the class file and replace the file with the the enhanced version of the class.- Parameters:
transformer- object that actually transforms the class bytesclassLoader- the ClassLoader used as part of the transformationinDir- the root directory where the class files are located
-
-
Method Details
-
setListener
Register a listener to receive event notification -
process
Process the packageNames as comma delimited string. -
process
Process all the comma delimited list of packages.Package names are effectively converted into a directory on the file system, and the class files are found and processed.
-