Class LoadedFunctionPackage

java.lang.Object
org.apache.pulsar.functions.utils.LoadedFunctionPackage
All Implemented Interfaces:
ValidatableFunctionPackage

public class LoadedFunctionPackage extends Object implements ValidatableFunctionPackage
LoadedFunctionPackage is a class that represents a function package and implements the ValidatableFunctionPackage interface which decouples the function package from classloading. This implementation is backed by a ClassLoader, and it is used when the function package is already loaded by a ClassLoader. This is the case in the LocalRunner and in some of the unit tests.