public static native loadObjectBundle( objectFilenames as ArrayList<String>, sourceFilenames as ArrayList<String>, typeName as String ) as Type throws Exception
Loads a platform-native Klyn object bundle into the active JIT.
Every object is added before metadata registration so plugin classes may reference one another independently of archive order.
| Parameter | Description |
|---|---|
objectFilenames | Native object files belonging to one plugin. |
sourceFilenames | Stable source identities parallel to the objects. These relative paths prevent transitive dependency loading from adding a second cached object for a class already supplied by the bundle. |
typeName | Fully qualified plugin entry type. |
Reflected entry type.
typeInfo = ClassLoader.loadObjectBundle( ["cache/example/objects/ExamplePlugin.o"], ["plugins/example/src/ExamplePlugin.kn"], "ExamplePlugin" )