Table of Contents

Namespace MASES.JCOBridge.C2JBridge

Classes

CLREventData

Base class for event information. Extend this to manage event associated data

CLREventData<TObject>

A class for event information, it extends CLREventData, adding management of simple object like bool, string, byte, and so on/>

CLRListenerEventArgs<TDataClass>

Generic event args used by AddEventHandler<TDataClass>(string, EventHandler<CLRListenerEventArgs<TDataClass>>)

ClassPathBuilder

An helper class to build ClassPath

EventOrExceptionEventArgs

A class containing the information to be reported in the

JCOBridge

General helper class

JCOBridgeDirectBuffer<T>

A class to manage shared memory between .NET and JVM using a memory region created from the CLR and shared with the JVM using https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html

JCOBridgeDisposeAsyncScope

Opens a batch scope for deferred JVM global reference disposal, safe for use in async/await contexts. Disposal of JVM objects within this scope is batched and flushed in a single P/Invoke call when the scope exits, reducing crossing overhead. The scope state flows automatically across await continuations.

JCOBridgeDisposeFastScope

Opens a high-performance batch scope for deferred JVM global reference disposal, optimized for synchronous code running on a controlled thread. Disposal of JVM objects within this scope is batched and flushed in a single P/Invoke call when the scope exits, reducing crossing overhead.

JCOBridgeExtensions

General class with helpers for JVM initialization

JCOBridgeSharedBufferStream

Internal support class

JCOBridgeSharedBufferStream<T>

A stream around a native memory pointer

JCOBridgeStream<T>

An UnmanagedMemoryStream that provides direct .NET stream access to the native memory of a JVM array obtained from ToStream<T>(FileAccess, bool).

JCSharedBufferManager

Class managing JCSharedBuffer of JVM

JCWindowsManager

Class to manage windows initialization and positioning, it is the input of Initialize(JCWindowsManager)

JVMBridgeAutoLock

Helper class to automatically release lock by a using clause

JVMBridgeBase

Public entry point of JVMBridgeBase

JVMBridgeBaseEnumerable<TClass>

A generic IEnumerable used to manage Java Iterable

JVMBridgeBaseEnumerable<TClass, TObject>

A generic IEnumerable<T> used to manage Java Iterable

JVMBridgeBaseEnumerator

A generic enumerator used to manage Java Iterator

JVMBridgeBaseEnumerator<TObject>

A generic enumerator used to manage Java Iterator

JVMBridgeBasePrefetchableEnumerator

A generic enumerator used to manage Java Iterator able to prefetch data

JVMBridgeBasePrefetchableEnumerator<TObject>

A generic enumerator used to manage Java Iterator

JVMBridgeBase<TClass>

Public entry point of JVMBridgeBase<TClass>

JVMBridgeBase<TClass, TInterface>

Public entry point of JVMBridgeBase<TClass>

JVMBridgeException

Java Exception base class

JVMBridgeException<TException>

Java Exception class extending JVMBridgeException

JVMBridgeListener

Base class managing events from JVM. Implements IJVMBridgeBase. Extend this base class to manage events from the JVM

JVMBridgeListener.CLRListenerWrapper

Internal class

JVMBridgeMainExtensible<TClass>

Execute directly the class implementing the Java "main" method

JVMBridgeMain<TClass>

Execute directly the class implementing the Java "main" method

JVMBridgeRunner<TClass>

Runs directly the class implementing the Java "main" method

SetupJVMWrapper

Main entry point for JVM languages setup and execution.

SetupJVMWrapper<T>

Main entry point for JVM languages setup and execution.
Extend this class to use external threading

Interfaces

IConverterBridge

Interface used from IEnumerableExtension for type conversion

IEnumerableExtension

Interface used to extend functionalities of IEnumerable

IJCGraphicContainer

The interface which manages interaction with remote Graphic Container. It is the main interface to insert a Java Control within a WPF/WinForms application

IJVMBridgeBase

Generic interface containing accessor of every JVMBridgeBase

IJVMBridgeBaseConvert<TIn, TOut>

Generic interface containing accessor for IJavaType of every typed JVMBridgeBase

IJVMBridgeBaseInitializer

Generic interface used in initialization of every instance of JVMBridgeBase class

IJVMBridgeBaseInstance

Contains the reference to the IJavaObject

IJVMBridgeBaseStatic

Generic interface containing accessor for IJavaType of every typed JVMBridgeBase

IJVMBridgeCore

Generic interface for every Java bridged class

IJVMBridgeDefinition

Generic interface containing definition of every JVMBridgeBase

IJVMBridgeMain

Public interface to identify a class which is a Main-Class

Enums

JCWindowsManager.GWL

https://learn.microsoft.com/en-us/windows/win32/winmsg/window-styles

JCWindowsManager.SetWindowPosFlags

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos

JCWindowsManager.ShowWindowCommand

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow