Click or drag to resize

JCOBridge Class

General helper class
Inheritance Hierarchy
SystemObject
  MASES.JCOBridge.C2JBridgeJCOBridge

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.5.251117-542184cb2a0ea61cfe667a6bfacadf83c6adbe4d
Syntax
public static class JCOBridge

The JCOBridge type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberGlobal The global instance pointer set with Globalize(IJVMBridgeCore, Boolean)
Public propertyStatic memberIsCLRHostingProcess if the hosting process is a CLR, if the hosting process is a JVM
Public propertyStatic memberLastBindingException Reports last Exception raised from JCOBridge subsystem
Top
Methods
 NameDescription
Public methodStatic memberCastTObject Casts the input object implemeneting IJVMBridgeBase into TObject
Public methodStatic memberCheckForPrimitive(Type) Check if type is one of string, bool, byte, char, double, float, int, long, short or array of previous types
Public methodStatic memberCheckForPrimitiveTType Check if TType is one of string, bool, byte, char, double, float, int, long, short
Public methodStatic memberCheckForRawPrimitive(Type) Check if type is one of bool, byte, char, double, float, int, long, short or array of previous types
Public methodStatic memberCheckForRawPrimitiveTType Check if TType is one of bool, byte, char, double, float, int, long, short
Public methodStatic memberConvert(JavaException) Converts a generic JavaException into a known exception
Public methodStatic memberConvertTException(JavaException) Converts a generic JavaException into a known exception
Public methodStatic memberConvertTReturn(Object) Converts a generic object
Public methodStatic memberGetMainClasses Retrieve all Main-Class from the assembly
Public Extension MethodGlobalize Creates a new global instance pointer
Public methodStatic memberLaunch(Type, String) Launch the type with the args arguments
Public methodStatic memberLaunchTClass(String) Launch the TClass class with the args arguments
Public methodStatic memberRegisterException(Type) Registers a generic Type, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException)
Public methodStatic memberRegisterExceptionTException Registers a generic TException, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException)
Public Extension MethodRegisterExceptions(Assembly) Registers a set of JVMBridgeException to be used in ConvertTException(JavaException)
Public methodStatic memberRegisterExceptions(IEnumerableType) Registers a generic Type, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException)
Public methodStatic memberRegisterWrapper(Type, Type) Registers a wrapper class to be used when generics has interfaces
Public methodStatic memberRegisterWrapperTWrapper, TInterface Registers a wrapper class to be used when generics has interfaces
Public methodStatic memberSetEventOrExceptionHandler Set a user defined EventHandlerTEventArgs to receive info from JCOBridge
Public methodStatic memberToTObject(CLREventData) Converts data associated to CLREventData into TObject
Public methodStatic memberToTObject(CLREventData, Int32) Converts extra data associated to CLREventData into TObject
Top
See Also