Class SimpleClassCompiler

java.lang.Object
org.jumpmind.util.SimpleClassCompiler

@IgnoreJRERequirement public class SimpleClassCompiler extends Object
Compile Java code in memory, load it, and return a new instance. The class name is changed to make it unique and the caller should cast to a parent class or interface. On subsequent calls, if the same Java code is passed again, the cached object is returned. Otherwise, a new class is compiled, loaded, and an instance returned.
  • Field Details

  • Constructor Details

    • SimpleClassCompiler

      public SimpleClassCompiler()
  • Method Details