Package com.googlecode.aviator
Interface FunctionMissing
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
JavaMethodReflectionFunctionMissing
public interface FunctionMissing extends java.io.SerializableFunction not found hook interface. TheonFunctionMissing(String, Map, AviatorObject...)method will be called when function not found, return the invocation result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AviatorObjectonFunctionMissing(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject... args)Called when function not found, return the invocation result.
-
-
-
Method Detail
-
onFunctionMissing
AviatorObject onFunctionMissing(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> env, AviatorObject... args)
Called when function not found, return the invocation result.- Parameters:
name- function nameenv- invocation envargs- invocation arguments.- Returns:
- The invocation result.
-
-