C# Class net.sf.jni4net.utils.Registry

Show file Open project: Mazrick/jni4net Class Usage Examples

Public Methods

Method Description
ClrSignature ( Type type ) : string
GetRecord ( JNIEnv env, JniHandle obj, Class iface ) : RegistryRecord
GetRecord ( object obj ) : RegistryRecord
GetSignature ( string typeName ) : string
RegisterAssembly ( Assembly assembly, bool bindJVM ) : void
RegisterAssembly ( Assembly assembly, bool bindJVM, java classLoader ) : void
RegisterType ( Type type, bool bindJVM, JNIEnv env ) : void

Private Methods

Method Description
BindJvm ( RegistryRecord record, JNIEnv env ) : void
BindJvm ( RegistryRecord record, JNIEnv env, java classLoader ) : void
GetCLRRecord ( Type iface ) : RegistryRecord
GetClrWrapperAttribute ( Type type ) : ClrWrapperAttribute
GetConstructor ( Type proxy ) : IConstructionHelper
GetJVMConstructor ( JNIEnv env, Class proxy ) : MethodId
GetJVMRecord ( Class iface ) : RegistryRecord
GetJavaClassAttribute ( Type type ) : JavaClassAttribute
GetJavaProxyAttribute ( Type type ) : JavaProxyAttribute
GetPackageName ( string package, bool jvm ) : string
GetProxyInitializer ( Type proxyType ) : MethodInfo
GetProxyName ( string package, string name, bool jvm ) : string
GetStaticName ( string package, string name, bool jvm ) : string
GetWrapperInitializer ( Type wrapperType, string name ) : MethodInfo
IsCLR ( Class iface, JniHandle obj, JNIEnv env ) : Type
JavaSignature ( Class clazz ) : string
LoadClass ( string name, JNIEnv env, ClassLoader classLoader ) : Class
RegisterClass ( RegistryRecord record, JNIEnv env, java classLoader ) : void
RegisterClassProxy ( Type proxyType, RegistryRecord &record ) : void
RegisterClassToMap ( RegistryRecord record ) : void
RegisterInterfaceProxy ( Type proxyType, RegistryRecord &record ) : void
RegisterNative ( MethodInfo initializer, JNIEnv env, Class jvmProxy, Class jvmInterface ) : void
RegisterPrimitiveType ( string clazzName, Type type, Type jvmBoxed ) : void
RegisterProxy ( Type proxyType, Type interfaceType, RegistryRecord &record ) : void
RegisterStaticAndMethods ( RegistryRecord record, JNIEnv env ) : void
RegisterType ( Type type, bool bindJVM, JNIEnv env, java classLoader ) : void
RegisterTypeOf ( RegistryRecord record, JNIEnv env ) : void
RegisterWrapper ( Type wrapperType, RegistryRecord &record ) : void
Registry ( ) : System
ResolveNew ( Class clazz ) : RegistryRecord
ResolveNew ( Type type ) : RegistryRecord
UnregisterNative ( ) : void

Method Details

ClrSignature() public static method

public static ClrSignature ( Type type ) : string
type System.Type
return string

GetRecord() public static method

public static GetRecord ( JNIEnv env, JniHandle obj, Class iface ) : RegistryRecord
env JNIEnv
obj JniHandle
iface java.lang.Class
return RegistryRecord

GetRecord() public static method

public static GetRecord ( object obj ) : RegistryRecord
obj object
return RegistryRecord

GetSignature() public static method

public static GetSignature ( string typeName ) : string
typeName string
return string

RegisterAssembly() public static method

public static RegisterAssembly ( Assembly assembly, bool bindJVM ) : void
assembly Assembly
bindJVM bool
return void

RegisterAssembly() public static method

public static RegisterAssembly ( Assembly assembly, bool bindJVM, java classLoader ) : void
assembly Assembly
bindJVM bool
classLoader java
return void

RegisterType() public static method

public static RegisterType ( Type type, bool bindJVM, JNIEnv env ) : void
type System.Type
bindJVM bool
env JNIEnv
return void