|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.joinpoint.plugins.BasicTargettedJoinPoint
org.jboss.joinpoint.plugins.BasicMethodJoinPoint
public class BasicMethodJoinPoint
A method joinpoint
Field Summary | |
---|---|
protected Object[] |
arguments
The arguments |
protected MethodInfo |
methodInfo
The method info |
Fields inherited from class org.jboss.joinpoint.plugins.BasicTargettedJoinPoint |
---|
target |
Constructor Summary | |
---|---|
BasicMethodJoinPoint(MethodInfo methodInfo)
Create a new method join point |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.joinpoint.plugins.BasicTargettedJoinPoint |
---|
clone, getTarget, setTarget |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.joinpoint.spi.TargettedJoinpoint |
---|
getTarget, setTarget |
Methods inherited from interface org.jboss.joinpoint.spi.Joinpoint |
---|
clone |
Field Detail |
---|
protected MethodInfo methodInfo
protected Object[] arguments
Constructor Detail |
---|
public BasicMethodJoinPoint(MethodInfo methodInfo)
methodInfo
- the methodInfoMethod Detail |
---|
public 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
dispatch
in interface Joinpoint
Throwable
- for any errorpublic String toHumanReadableString()
Joinpoint
toHumanReadableString
in interface Joinpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |