public abstract class MethodRef extends AnnotatedRef
Constructor and Description |
---|
MethodRef() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Retrieves the referenced method name.
|
abstract Object |
invoke(Object _this,
Object... args) |
boolean |
isRoutable()
Returns true if this method is a 'public' method that should be used for routing requests.
|
static MethodRef |
wrap(Method m) |
getAnnotation, hasAnnotation
public MethodRef()
public boolean isRoutable()
@CheckForNull public String getName()
null
if it cannot be determined.public abstract Object invoke(Object _this, Object... args) throws InvocationTargetException, IllegalAccessException
Copyright © 2018. All rights reserved.