Table of Contents

Class AbstractScriptEngine

Namespace
Javax.Script
Assembly
MASES.JNet.dll
public class AbstractScriptEngine : ScriptEngine, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IScriptEngine
Inheritance
JVMBridgeBase
JVMBridgeBase<ScriptEngine>
AbstractScriptEngine
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ScriptEngine>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ScriptEngine>.IsAssignableFrom<T>()
JVMBridgeBase<ScriptEngine>.Execute<T>(params T[])
JVMBridgeBase<ScriptEngine>.DynBridgeClazz
JVMBridgeBase<ScriptEngine>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AbstractScriptEngine()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("AbstractScriptEngine class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractScriptEngine()

AbstractScriptEngine(Bindings)

public AbstractScriptEngine(Bindings arg0)

Parameters

arg0 Bindings

Bindings

AbstractScriptEngine(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("AbstractScriptEngine class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractScriptEngine(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Context

public ScriptContext Context { get; set; }

Property Value

ScriptContext

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Eval(Reader)

public object Eval(Reader arg0)

Parameters

arg0 Reader

Reader

Returns

object

object

Exceptions

ScriptException

Eval(Reader, Bindings)

public object Eval(Reader arg0, Bindings arg1)

Parameters

arg0 Reader

Reader

arg1 Bindings

Bindings

Returns

object

object

Exceptions

ScriptException

Eval(String)

public object Eval(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

ScriptException

Eval(String, Bindings)

public object Eval(String arg0, Bindings arg1)

Parameters

arg0 String

String

arg1 Bindings

Bindings

Returns

object

object

Exceptions

ScriptException

Get(String)

public object Get(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetBindings(int)

public Bindings GetBindings(int arg0)

Parameters

arg0 int

int

Returns

Bindings

Bindings

Put(String, object)

public void Put(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

SetBindings(Bindings, int)

public void SetBindings(Bindings arg0, int arg1)

Parameters

arg0 Bindings

Bindings

arg1 int

int