LibreOffice Module bridges (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.sun.star.bridges.jni_uno.JNI_proxy Class Reference
Inheritance diagram for com.sun.star.bridges.jni_uno.JNI_proxy:
[legend]
Collaboration diagram for com.sun.star.bridges.jni_uno.JNI_proxy:
[legend]

Public Member Functions

Object invoke (Object proxy, java.lang.reflect.Method method, Object args[]) throws Throwable
 

Static Public Member Functions

static String get_stack_trace (Throwable throwable) throws Throwable
 
static Object create (long bridge_handle, IEnvironment java_env, long receiver_handle, long td_handle, Type type, String oid, java.lang.reflect.Constructor proxy_ctor, AsynchronousFinalizer finalizer) throws Throwable
 
static java.lang.reflect.Constructor get_proxy_ctor (Class clazz) throws Throwable
 

Protected Member Functions

void finalize ()
 

Private Member Functions

native void finalize (long bridge_handle)
 
 JNI_proxy (long bridge_handle, IEnvironment java_env, long receiver_handle, long td_handle, Type type, String oid, AsynchronousFinalizer finalizer)
 
native Object dispatch_call (long bridge_handle, String method, Object args[]) throws Throwable
 
Boolean isSame (Object obj)
 

Private Attributes

long m_bridge_handle
 
final IEnvironment m_java_env
 
long m_receiver_handle
 these 2 fields are accessed directly from C++ More...
 
long m_td_handle
 
final Type m_type
 
final String m_oid
 
final Class m_class
 
final AsynchronousFinalizer m_finalizer
 

Static Private Attributes

static ClassLoader s_classloader
 
static Class s_InvocationHandler []
 

Detailed Description

Definition at line 31 of file JNI_proxy.java.

Constructor & Destructor Documentation

◆ JNI_proxy()

com.sun.star.bridges.jni_uno.JNI_proxy.JNI_proxy ( long  bridge_handle,
IEnvironment  java_env,
long  receiver_handle,
long  td_handle,
Type  type,
String  oid,
AsynchronousFinalizer  finalizer 
)
inlineprivate

Definition at line 110 of file JNI_proxy.java.

References m_oid, m_type, and type.

Member Function Documentation

◆ create()

static Object com.sun.star.bridges.jni_uno.JNI_proxy.create ( long  bridge_handle,
IEnvironment  java_env,
long  receiver_handle,
long  td_handle,
Type  type,
String  oid,
java.lang.reflect.Constructor  proxy_ctor,
AsynchronousFinalizer  finalizer 
) throws Throwable
inlinestatic

Definition at line 125 of file JNI_proxy.java.

References Object, String, and type.

◆ dispatch_call()

native Object com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call ( long  bridge_handle,
String  method,
Object  args[] 
) throws Throwable
private

References native, and Object.

◆ finalize() [1/2]

void com.sun.star.bridges.jni_uno.JNI_proxy.finalize ( )
inlineprotected

Definition at line 99 of file JNI_proxy.java.

References com.sun.star.bridges.jni_uno.JNI_proxy.m_finalizer.

◆ finalize() [2/2]

native void com.sun.star.bridges.jni_uno.JNI_proxy.finalize ( long  bridge_handle)
private

References native.

◆ get_proxy_ctor()

static java.lang.reflect.Constructor com.sun.star.bridges.jni_uno.JNI_proxy.get_proxy_ctor ( Class  clazz) throws Throwable
inlinestatic

Definition at line 139 of file JNI_proxy.java.

References Class.

◆ get_stack_trace()

static String com.sun.star.bridges.jni_uno.JNI_proxy.get_stack_trace ( Throwable  throwable) throws Throwable
inlinestatic

Definition at line 68 of file JNI_proxy.java.

References n, and String.

◆ invoke()

Object com.sun.star.bridges.jni_uno.JNI_proxy.invoke ( Object  proxy,
java.lang.reflect.Method  method,
Object  args[] 
) throws Throwable
inline

Definition at line 155 of file JNI_proxy.java.

References args, Integer, m_oid, m_type, Object, String, and toString().

◆ isSame()

Boolean com.sun.star.bridges.jni_uno.JNI_proxy.isSame ( Object  obj)
inlineprivate

Definition at line 219 of file JNI_proxy.java.

References Boolean, and m_oid.

Member Data Documentation

◆ m_bridge_handle

long com.sun.star.bridges.jni_uno.JNI_proxy.m_bridge_handle
private

Definition at line 58 of file JNI_proxy.java.

◆ m_class

final Class com.sun.star.bridges.jni_uno.JNI_proxy.m_class
private

Definition at line 65 of file JNI_proxy.java.

◆ m_finalizer

final AsynchronousFinalizer com.sun.star.bridges.jni_uno.JNI_proxy.m_finalizer
private

Definition at line 66 of file JNI_proxy.java.

Referenced by com.sun.star.bridges.jni_uno.JNI_proxy.finalize().

◆ m_java_env

final IEnvironment com.sun.star.bridges.jni_uno.JNI_proxy.m_java_env
private

Definition at line 59 of file JNI_proxy.java.

◆ m_oid

final String com.sun.star.bridges.jni_uno.JNI_proxy.m_oid
private

Definition at line 64 of file JNI_proxy.java.

◆ m_receiver_handle

long com.sun.star.bridges.jni_uno.JNI_proxy.m_receiver_handle
private

these 2 fields are accessed directly from C++

Definition at line 61 of file JNI_proxy.java.

◆ m_td_handle

long com.sun.star.bridges.jni_uno.JNI_proxy.m_td_handle
private

Definition at line 62 of file JNI_proxy.java.

◆ m_type

final Type com.sun.star.bridges.jni_uno.JNI_proxy.m_type
private

Definition at line 63 of file JNI_proxy.java.

◆ s_classloader

ClassLoader com.sun.star.bridges.jni_uno.JNI_proxy.s_classloader
staticprivate
Initial value:
=
JNI_proxy.class.getClassLoader()
JNI_proxy(long bridge_handle, IEnvironment java_env, long receiver_handle, long td_handle, Type type, String oid, AsynchronousFinalizer finalizer)
Definition: JNI_proxy.java:110

Definition at line 53 of file JNI_proxy.java.

◆ s_InvocationHandler

Class com.sun.star.bridges.jni_uno.JNI_proxy.s_InvocationHandler[]
staticprivate
Initial value:
=
new Class [] { java.lang.reflect.InvocationHandler.class }

Definition at line 55 of file JNI_proxy.java.


The documentation for this class was generated from the following file: