Package microsoft.jscript
Class IEngine2Implementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.jscript.IEngine2Implementation
-
- All Implemented Interfaces:
IEngine2,IJCOBridgeReflected
public class IEngine2Implementation extends NetObject implements IEngine2
The base .NET class managing Microsoft.JScript.IEngine2, Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.IEngine2
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.JScriptstatic java.lang.StringclassNameQualified class name: Microsoft.JScript.IEngine2static JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IEngine2Implementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IJSVsaEngineClone(AppDomain domain)booleanCompileEmpty()voidConnectEvents()voidDisconnectEvents()AssemblyGetAssembly()IVsaScriptScopeGetGlobalScope()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeModuleGetModule()voidInitVsaEngine(java.lang.String rootMoniker, IJSVsaSite site)voidInterrupt()voidRegisterEventSource(java.lang.String name)voidRestart()voidRun(AppDomain domain)voidRunEmpty()static IEngine2ToIEngine2(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIEngine2, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.JScript- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.JScript.IEngine2- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIEngine2- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIEngine2- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIEngine2- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIEngine2- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIEngine2- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIEngine2
public static IEngine2 ToIEngine2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIEngine2, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IEngine2instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CompileEmpty
public boolean CompileEmpty() throws java.lang.Throwable- Specified by:
CompileEmptyin interfaceIEngine2- Throws:
java.lang.Throwable
-
GetGlobalScope
public IVsaScriptScope GetGlobalScope() throws java.lang.Throwable
- Specified by:
GetGlobalScopein interfaceIEngine2- Throws:
java.lang.Throwable
-
Clone
public IJSVsaEngine Clone(AppDomain domain) throws java.lang.Throwable
-
GetAssembly
public Assembly GetAssembly() throws java.lang.Throwable
- Specified by:
GetAssemblyin interfaceIEngine2- Throws:
java.lang.Throwable
-
GetModule
public Module GetModule() throws java.lang.Throwable
-
ConnectEvents
public void ConnectEvents() throws java.lang.Throwable- Specified by:
ConnectEventsin interfaceIEngine2- Throws:
java.lang.Throwable
-
DisconnectEvents
public void DisconnectEvents() throws java.lang.Throwable- Specified by:
DisconnectEventsin interfaceIEngine2- Throws:
java.lang.Throwable
-
InitVsaEngine
public void InitVsaEngine(java.lang.String rootMoniker, IJSVsaSite site) throws java.lang.Throwable- Specified by:
InitVsaEnginein interfaceIEngine2- Throws:
java.lang.Throwable
-
Interrupt
public void Interrupt() throws java.lang.Throwable
-
RegisterEventSource
public void RegisterEventSource(java.lang.String name) throws java.lang.Throwable- Specified by:
RegisterEventSourcein interfaceIEngine2- Throws:
java.lang.Throwable
-
Restart
public void Restart() throws java.lang.Throwable
-
Run
public void Run(AppDomain domain) throws java.lang.Throwable
-
-