@Immutable
public class FunctionLoader
extends java.lang.ClassLoader
The defineClass
method in this class creates an instance of the Function
or
the FunctionBase
class from its corresponding bytecode. It only grants the given
permissions with ProtectionDomain
.
Constructor and Description |
---|
FunctionLoader(java.security.ProtectionDomain protectionDomain) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
defineClass(FunctionEntry entry)
Turns the bytecode of a registered transaction into a
Function instance. |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
@Inject public FunctionLoader(java.security.ProtectionDomain protectionDomain)
public java.lang.Class<?> defineClass(FunctionEntry entry)
Function
instance.entry
- the entry of a Function
that will be loadedFunction