Kanzi Framework  3.9.0
Java API
MetaclassRegistry Class Reference

A container class for Java metaclasses and proxies. More...

Public Member Functions

void overrideClass (Class<? extends KanziObject > clazz)
 Overrides a Java object class in runtime. More...
 
void registerClass (Class<? extends KanziObject > clazz)
 Registers a new Java object class to runtime. More...
 
void registerProxy (Class<? extends KanziObject > proxy)
 Associates Java class with a native metaclass in runtime. More...
 

Detailed Description

A container class for Java metaclasses and proxies.

Member Function Documentation

◆ overrideClass()

void overrideClass ( Class<? extends KanziObject clazz)

Overrides a Java object class in runtime.

Parameters
clazzJava object class to override.
Exceptions
IllegalArgumentExceptionThrows a IllegalArgumentException when the metaclass has invalid state.

◆ registerClass()

void registerClass ( Class<? extends KanziObject clazz)

Registers a new Java object class to runtime.

Parameters
clazzJava object class to register.
Exceptions
IllegalArgumentExceptionThrows a IllegalArgumentException when the metaclass has invalid state.

◆ registerProxy()

void registerProxy ( Class<? extends KanziObject proxy)

Associates Java class with a native metaclass in runtime.

Parameters
proxyJava class to register in to runtime.