IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Runtime.RuntimeClassLoaderFactory Class Reference

Manages instances of RuntimeClassLoader. More...

Public Member Functions

 RuntimeClassLoaderFactory (RuntimeContext context)
 Initializes the static instance.
 
void SetWrapperForClassLoader (java.lang.ClassLoader javaClassLoader, RuntimeClassLoader wrapper)
 

Detailed Description

Manages instances of RuntimeClassLoader.

Definition at line 52 of file RuntimeClassLoaderFactory.cs.

Constructor & Destructor Documentation

◆ RuntimeClassLoaderFactory()

IKVM.Runtime.RuntimeClassLoaderFactory.RuntimeClassLoaderFactory ( RuntimeContext context)

Initializes the static instance.

Definition at line 70 of file RuntimeClassLoaderFactory.cs.

71 {
72 this.context = context;
73
74 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.BOOLEAN.TypeAsTBD] = context.PrimitiveJavaTypeFactory.BOOLEAN;
75 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.BYTE.TypeAsTBD] = context.PrimitiveJavaTypeFactory.BYTE;
76 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.CHAR.TypeAsTBD] = context.PrimitiveJavaTypeFactory.CHAR;
77 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.DOUBLE.TypeAsTBD] = context.PrimitiveJavaTypeFactory.DOUBLE;
78 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.FLOAT.TypeAsTBD] = context.PrimitiveJavaTypeFactory.FLOAT;
79 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.INT.TypeAsTBD] = context.PrimitiveJavaTypeFactory.INT;
80 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.LONG.TypeAsTBD] = context.PrimitiveJavaTypeFactory.LONG;
81 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.SHORT.TypeAsTBD] = context.PrimitiveJavaTypeFactory.SHORT;
82 globalTypeToTypeWrapper[context.PrimitiveJavaTypeFactory.VOID.TypeAsTBD] = context.PrimitiveJavaTypeFactory.VOID;
83 LoadRemappedTypes();
84 }
RuntimePrimitiveJavaTypeFactory PrimitiveJavaTypeFactory
Gets the RuntimePrimitiveJavaTypeFactory associated with this instance of the runtime.

Member Function Documentation

◆ SetWrapperForClassLoader()

void IKVM.Runtime.RuntimeClassLoaderFactory.SetWrapperForClassLoader ( java.lang.ClassLoader javaClassLoader,
RuntimeClassLoader wrapper )

Definition at line 329 of file RuntimeClassLoaderFactory.cs.

330 {
331#if FIRST_PASS
332 throw new NotImplementedException();
333#else
334 javaClassLoader.wrapper = wrapper;
335#endif
336 }

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