JCOBridge Class |
The JCOBridge type exposes the following members.
| Name | Description | |
|---|---|---|
| Global | The global instance pointer set with Globalize(IJVMBridgeCore, Boolean) | |
| IsCLRHostingProcess | if the hosting process is a CLR, if the hosting process is a JVM | |
| LastBindingException | Reports last Exception raised from JCOBridge subsystem |
| Name | Description | |
|---|---|---|
| Convert(JavaException) | Converts a generic JavaException into a known exception | |
| ConvertTException(JavaException) | Converts a generic JavaException into a known exception | |
| GetMainClasses | Retrieve all Main-Class from the assembly | |
| Globalize | Creates a new global instance pointer | |
| Launch(Type, String) | Launch the type with the args arguments | |
| LaunchTClass(String) | Launch the TClass class with the args arguments | |
| RegisterException(Type) | Registers a generic Type, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException) | |
| RegisterExceptionTException | Registers a generic TException, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException) | |
| RegisterExceptions(Assembly) | Registers a set of JVMBridgeException to be used in ConvertTException(JavaException) | |
| RegisterExceptions(IEnumerableType) | Registers a generic Type, which inherit from JVMBridgeException, to be used in ConvertTException(JavaException) | |
| RegisterWrapper(Type, Type) | Registers a wrapper class to be used when generics has interfaces | |
| RegisterWrapperTWrapper, TInterface | Registers a wrapper class to be used when generics has interfaces | |
| SetEventOrExceptionHandler | Set a user defined EventHandlerTEventArgs to receive info from JCOBridge |