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