public class BasicMethodJoinPoint extends BasicTargettedJoinPoint implements MethodJoinpoint
Modifier and Type | Field and Description |
---|---|
protected Object[] |
arguments
The arguments
|
protected MethodInfo |
methodInfo
The method info
|
target
Constructor and Description |
---|
BasicMethodJoinPoint(MethodInfo methodInfo)
Create a new method join point
|
Modifier and Type | Method and Description |
---|---|
Object |
dispatch()
Invoke on the actual joinpoint
|
Object[] |
getArguments()
Get the arguments of the join point
|
MethodInfo |
getMethodInfo()
Get the method info
|
void |
setArguments(Object[] args)
Set the arguments of the method invocation
|
String |
toHumanReadableString()
A human readable version of the join point
|
clone, getTarget, setTarget
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTarget, setTarget
protected MethodInfo methodInfo
protected Object[] arguments
public BasicMethodJoinPoint(MethodInfo methodInfo)
methodInfo
- the methodInfopublic MethodInfo getMethodInfo()
MethodJoinpoint
getMethodInfo
in interface MethodJoinpoint
public Object[] getArguments()
MethodJoinpoint
getArguments
in interface MethodJoinpoint
public void setArguments(Object[] args)
MethodJoinpoint
setArguments
in interface MethodJoinpoint
args
- the argumentspublic Object dispatch() throws Throwable
Joinpoint
public String toHumanReadableString()
Joinpoint
toHumanReadableString
in interface Joinpoint
Copyright © 2015 JBoss by Red Hat. All rights reserved.