public class CustomFunctionProvider extends DefaultFunctionProvider
| Constructor and Description |
|---|
CustomFunctionProvider(Class<? extends CustomFunctionSourceProvider> sourceProvider)
Dynamically generates a class at run time based on the source code of methods
provided by the sourceProvider, and makes the methods available to the
expression engine as functions.
|
getFunctionType, getFunctionValue, initialize, supportsFunctionpublic CustomFunctionProvider(Class<? extends CustomFunctionSourceProvider> sourceProvider) throws ExpressionEngineException
sourceProvider - class that will provide the source code for the custom functionsExpressionEngineExceptionInstantiationExceptionIllegalAccessException