Click or drag to resize

JVMBridgeBaseTClassNewWithSignatureAndWrapsDirectTNewClass(String, String) Method

Creates a new JVM instance of className with no arguments and wraps it directly in TNewClass without type-safety checks.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(
	string className,
	string signature
)
where TNewClass : IJVMBridgeBase

Parameters

className  String
The Java class name in dot or slash form.
signature  String
The JNI constructor signature.

Type Parameters

TNewClass
The bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.

Return Value

TNewClass
A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
See Also