public class NativeEnvironment extends AbstractEnvironment implements IEnvironment
| Constructor and Description |
|---|
NativeEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
void |
wrap(Object module)
Wrap a java instance.
|
addModuleListener, getEnvironment, getModule, getModule, getModules, initialize, listModules, loadModule, print, printError, readInput, removeModuleListenergetScriptEngineequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddModuleListener, getModule, getModule, getModules, getScriptEngine, loadModule, print, removeModuleListenerpublic void wrap(Object module)
IEnvironmentWrapToScript only these will be wrapped. If no annotation can be found, all public methods/constants will
be wrapped. As some target languages might not support method overloading this might result in some methods not wrapped correctly.wrap in interface IEnvironmentmodule - instance to be wrapped