info.javelot.functionalj.reflect.function
Class StdReflectFunction
java.lang.Object
info.javelot.functionalj.FunctionNImpl
info.javelot.functionalj.reflect.function.StdReflectFunction
- All Implemented Interfaces:
- FunctionN
- public class StdReflectFunction
- extends FunctionNImpl
Function to invoke a reflect element.
- Author:
- Copyright © 2006
Frederic Daoud
|
Method Summary |
Object |
call(Object[] p_params)
Calls the function and returns the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdReflectFunction
public StdReflectFunction(ReflectElement p_element)
- Constructs a function to invoke the reflect element.
- Parameters:
p_element - the reflect element to be invoked by the function.
call
public Object call(Object[] p_params)
throws FunctionException
- Description copied from interface:
FunctionN
- Calls the function and returns the result.
- Parameters:
p_params - the parameters to the function.
- Returns:
- the result of the function call.
- Throws:
FunctionException - thrown if an exception occurs during the function
call.