railo.runtime.reflection.pairs
Class ConstructorInstance
java.lang.Object
railo.runtime.reflection.pairs.ConstructorInstance
public final class ConstructorInstance
- extends Object
class holds a Constructor and the parameter to call it
ConstructorInstance
public ConstructorInstance(Constructor constructor,
Object[] args)
- constructor of the class
- Parameters:
constructor
- args
-
invoke
public Object invoke()
throws IllegalArgumentException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
- Invokes the method
- Returns:
- return value of the Method
- Throws:
InvocationTargetException
IllegalAccessException
InstantiationException
IllegalArgumentException
getArgs
public Object[] getArgs()
- Returns:
- Returns the args.
getConstructor
public Constructor getConstructor()
- Returns:
- Returns the constructor.
Copyright © 2012 Railo