info.javelot.functionalj.reflect.element
Class ReflectCglibStaticMethod
java.lang.Object
info.javelot.functionalj.reflect.element.ReflectJdkStaticMethod
info.javelot.functionalj.reflect.element.ReflectCglibStaticMethod
- All Implemented Interfaces:
- ReflectElement
public class ReflectCglibStaticMethod
- extends ReflectJdkStaticMethod
Represents a reflect cglib static method.
- Author:
- Copyright © 2006
Frederic Daoud
|
Method Summary |
Object |
invoke(Object[] p_params)
Invokes the target static method, passing the parameters to the method. |
ReflectCglibStaticMethod
public ReflectCglibStaticMethod(Method p_method)
- Constructs a reflect element using a cglib
method for a standard static method.
- Parameters:
p_method - the reflect static method.
invoke
public Object invoke(Object[] p_params)
throws Exception
- Description copied from class:
ReflectJdkStaticMethod
- Invokes the target static method, passing the parameters to the method.
- Specified by:
invoke in interface ReflectElement- Overrides:
invoke in class ReflectJdkStaticMethod
- Parameters:
p_params - the parameters to be passed to the method.
- Returns:
- the result of invoking the method.
- Throws:
Exception - thrown if an exception occurs when invoking the method.