|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EngineImportService
Service for engine-level resolution of static methods and aggregation methods.
Method Summary | |
---|---|
void |
addAggregation(String functionName,
String aggregationClass)
Add an aggregation function. |
void |
addImport(String importName)
Add an import, such as "com.mypackage.*" or "com.mypackage.MyClass". |
AggregationSupport |
resolveAggregation(String functionName)
Used at statement compile-time to try and resolve a given function name into an aggregation method. |
Method |
resolveMethod(String classNameAlias,
String methodName,
Class[] paramTypes)
Resolves a given class, method and list of parameter types to a static method. |
Method Detail |
---|
void addImport(String importName) throws EngineImportException
importName
- is the import to add
EngineImportException
- if the information or format is invalidvoid addAggregation(String functionName, String aggregationClass) throws EngineImportException
functionName
- is the name of the function to make known.aggregationClass
- is the class that provides the aggregator
EngineImportException
- throw if format or information is invalidAggregationSupport resolveAggregation(String functionName) throws EngineImportUndefinedException, EngineImportException
functionName
- is the function name
EngineImportUndefinedException
- if the function is not a configured aggregation function
EngineImportException
- if the aggregation providing class could not be loaded or doesn't matchMethod resolveMethod(String classNameAlias, String methodName, Class[] paramTypes) throws EngineImportException
classNameAlias
- is the class name to usemethodName
- is the method nameparamTypes
- is parameter types match expression sub-nodes
EngineImportException
- if the method cannot be resolved to a visible static method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |