com.googlecode.scalascriptengine
returns Constructors, this allows easy instantiation of the class using up to 4 constructor arguments.
returns Constructors, this allows easy instantiation of the class using up to 4 constructor arguments.
Constructors returned by this method are linked to the current codeversion. This means that, if codeversion is refreshed, a call to this will return an up to date Constructors instance. But also it means that the returned constructor will always create instances of that codeversion and will not reflect updates to the codeversion.
please make sure outputDir is valid!!! If you used one of the factory methods to create an instance of the script engine, the output dir will be in the tmp directory.
please make sure outputDir is valid!!! If you used one of the factory methods to create an instance of the script engine, the output dir will be in the tmp directory.
returns the Class[T] for className
returns the Class[T] for className
Can throw ClassNotFoundException if the class is not present. Can throw ClassCastException if the class is not of T Can trigger a compilation in the background or foreground, depending on the refresh policy.
the full class name
true if the scala file was modified since the last compilation
returns a new instance of className.
returns a new instance of className. The new instance is always of the latest codeversion.
makes sure the refresh is run only once at a time. All calls to refresh return straight away with the current code version but a compilation will be triggered if the source code changed. The compilation will occur in the background and when done, the new compiled version of the code will be used.