Click or drag to resize

JVMBridgeBase Class

Public entry point of JVMBridgeBase
Inheritance Hierarchy

Namespace:  MASES.JCOBridge.C2JBridge
Assembly:  C2JBridge (in C2JBridge.dll) Version: 2.4.12.220507-908f547aedf9e08963d047b783e99d6b2ed61a1c
Syntax
public abstract class JVMBridgeBase : DynamicObject, 
	IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeCore, IDisposable

The JVMBridgeBase type exposes the following members.

Constructors
  NameDescription
Protected methodJVMBridgeBase
Initializes a new instance of the JVMBridgeBase class
Top
Properties
  NameDescription
Public propertyClassName
Java class name to be instantiated
Public propertyDynInstance
The dynamic accessor to Instance
Public propertyInstance
The IJavaObject instance
Public propertyIsAbstract
if the ClassName is an abstract class, i.e. cannot be created an instance
Public propertyIsCloseable
if the ClassName implements Closeable
Public propertyIsInterface
if the ClassName is an interface, i.e. does not have any public constructor
Public propertyIsListener
if the ClassName follows the listener pattern of JCOBridge: the ClassName extends a JCListener or implements IJCListener
Public propertyIsStatic
if the ClassName is a static class, i.e. does not have any public constructor
Top
Methods
  NameDescription
Public methodStatic memberClassNameOfT
Retrieve the ClassName of T
Public methodStatic memberClassOfT
Retrieve the IJavaObject of the Java class associated to T
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodExecuteT
Executes the code
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIExecute(String, Object)
Executes an instance method
Public methodIExecuteTReturn(String, Object)
Executes an instance method
Public methodIExecuteTNewClass, TReturn(String, Object)
Executes an instance method
Public methodIExecuteTNewClass, TReturn, TConverter(String, Object)
Executes an instance method
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewTNewClass(String, Object) Obsolete.
Executes an instance method
Public methodNewTNewClass, TReturn(String, Object) Obsolete.
Executes an instance method
Public methodNewTNewClass, TReturn, TConverter(String, Object) Obsolete.
Executes an instance method
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodStatic memberWraps(Type, IJavaObject)
Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass(IJavaObject)
Wraps the javaObject with a new TNewClass class
Public methodStatic memberWrapsTReturn(Type, IJavaObject)
Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass, TReturn(IJavaObject)
Wraps the javaObject with a new TNewClass class
Public methodStatic memberWrapsTReturn, TConverter(Type, IJavaObject)
Wraps the javaObject with a new type class
Public methodStatic memberWrapsTNewClass, TReturn, TConverter(IJavaObject)
Wraps the javaObject with a new TNewClass class
Top
Extension Methods
  NameDescription
Public Extension MethodCastTObject
Casts the input object implemeneting IJVMBridgeBase into TObject
(Defined by JCOBridgeExtensions.)
Public Extension MethodConvertTReturn
Converts a generic object
(Defined by JCOBridgeExtensions.)
Public Extension MethodGlobalize
Creates a new global instance pointer
(Defined by JCOBridge.)
Public Extension MethodInitializeListener
Request the initialization of the Listener from the JVM. The listener is a new class which inherits from CLRListener
(Defined by JCOBridgeExtensions.)
Public Extension MethodReleaseListener
Release a IJVMBridgeBase from the JVM
(Defined by JCOBridgeExtensions.)
Public Extension MethodToNativeOverloaded.
Converts a IJVMBridgeBase input to an object manageable from the JVM
(Defined by JCOBridgeExtensions.)
Public Extension MethodToNativeOverloaded.
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions.)
Top
See Also