Class FunctionProviderConfig
- java.lang.Object
-
- org.vedantatree.expressionoasis.config.FunctionProviderConfig
-
public class FunctionProviderConfig extends Object
Represents the configuration of a function provider, and builds the function provider that it represents.
-
-
Constructor Summary
Constructors Constructor Description FunctionProviderConfig(String className, List<ConstructorArgument> args)
Constructor arguments are annotated so that the Simple XML framework can use constructor injection to create an immutable object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionProvider
getFunctionProvider()
Gets an instance of the function provider that is defined in the XML config this object represents.
-
-
-
Constructor Detail
-
FunctionProviderConfig
public FunctionProviderConfig(String className, List<ConstructorArgument> args)
Constructor arguments are annotated so that the Simple XML framework can use constructor injection to create an immutable object.- Parameters:
className
- the name of the function provider class to instantiateargs
- the arguments to pass to the constructor during instantiation
-
-
Method Detail
-
getFunctionProvider
public FunctionProvider getFunctionProvider()
Gets an instance of the function provider that is defined in the XML config this object represents.- Returns:
- an instance of the function provider as defined in the XML config this object represents.
- Throws:
ExpressionEngineException
-
-