org.mvel2.util
Class MethodStub

java.lang.Object
  extended by org.mvel2.util.MethodStub
All Implemented Interfaces:
Serializable

public class MethodStub
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MethodStub()
           
MethodStub(Class classReference, String methodName)
           
MethodStub(Method method)
           
 
Method Summary
 Object call(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters)
           
 Class getClassReference()
           
 Method getMethod()
           
 String getMethodName()
           
 void setClassReference(Class classReference)
           
 void setMethodName(String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodStub

public MethodStub()

MethodStub

public MethodStub(Method method)

MethodStub

public MethodStub(Class classReference,
                  String methodName)
Method Detail

getClassReference

public Class getClassReference()

setClassReference

public void setClassReference(Class classReference)

getMethodName

public String getMethodName()

setMethodName

public void setMethodName(String methodName)

getMethod

public Method getMethod()

call

public Object call(Object ctx,
                   Object thisCtx,
                   VariableResolverFactory factory,
                   Object[] parameters)
            throws IllegalAccessException,
                   InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException


Copyright © 2011. All Rights Reserved.