info.javelot.functionalj.reflect.element
Class ReflectCglibInstanceMethod
java.lang.Object
info.javelot.functionalj.reflect.element.ReflectInstanceMethod
info.javelot.functionalj.reflect.element.ReflectJdkInstanceMethod
info.javelot.functionalj.reflect.element.ReflectCglibInstanceMethod
- All Implemented Interfaces:
- ReflectElement
public class ReflectCglibInstanceMethod
- extends ReflectJdkInstanceMethod
Represents a reflect cglibinstance method.
- Author:
- Copyright © 2006
Frederic Daoud
|
Method Summary |
protected Object |
invoke(Object p_object,
Object[] p_params)
Invokes the target instance method on the specified object, passing the
given parameters. |
ReflectCglibInstanceMethod
public ReflectCglibInstanceMethod(Method p_method)
- Constructs a reflect element using a cglib
method for a standard instance method.
- Parameters:
p_method - the reflect instance method.
invoke
protected Object invoke(Object p_object,
Object[] p_params)
throws Exception
- Description copied from class:
ReflectInstanceMethod
- Invokes the target instance method on the specified object, passing the
given parameters.
- Overrides:
invoke in class ReflectJdkInstanceMethod
- Parameters:
p_object - the target object on which to invoke the method.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.