Loader

public abstract class Loader<T>

The Loader is an abstract class that checks if all class dependencies to the given class definition are resolved. If not then the missing class name is taken from exception and the doWhenClassNotFound(String) method is executed.

Parameters:
  • <T> – the type of argument data

Methods

doWhenClassNotFound

public abstract void doWhenClassNotFound(String name)

getClassDefinition

public abstract Class<?> getClassDefinition(T arg)

loadClass

public Class<?> loadClass(T arg)

loadFieldsAndMethodsOfClass

public void loadFieldsAndMethodsOfClass(Class<?> definition)