public class MethodStub extends Object implements StaticStub
Constructor and Description |
---|
MethodStub(Class classReference,
String methodName) |
MethodStub(Method method) |
Modifier and Type | Method and Description |
---|---|
Object |
call(Object ctx,
Object thisCtx,
VariableResolverFactory factory,
Object[] parameters) |
Class |
getClassReference() |
Method |
getMethod() |
String |
getMethodName() |
void |
setClassReference(Class classReference) |
void |
setMethodName(String methodName) |
public MethodStub(Method method)
public Class getClassReference()
public void setClassReference(Class classReference)
public String getMethodName()
public void setMethodName(String methodName)
public Method getMethod()
public Object call(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters) throws IllegalAccessException, InvocationTargetException
call
in interface StaticStub
IllegalAccessException
InvocationTargetException
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.