|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.proxy.handler.MethodCallCapture
public class MethodCallCapture
Result of a captured method call.
| Constructor Summary | |
|---|---|
MethodCallCapture(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
|
|
| Method Summary | ||
|---|---|---|
|
getArgumentCasted(int indexPosition)
Returns the argument with the given index position. |
|
Object[] |
getArguments()
Arguments of the method call |
|
Method |
getMethod()
Intercepted method |
|
String |
getMethodName()
Returns the name of the called Method. |
|
Object |
getObject()
|
|
net.sf.cglib.proxy.MethodProxy |
getProxy()
A secondary proxy used to invoke the non-intercepted method. |
|
boolean |
hasArguments()
Returns true if the invocation has arguments |
|
boolean |
hasArguments(int count)
Returns true if the invocation has the given count of arguments |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodCallCapture(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
| Method Detail |
|---|
public Object getObject()
public Method getMethod()
public Object[] getArguments()
public <E> E getArgumentCasted(int indexPosition)
ClassCastException and return null if cast is
unsuccessful.
indexPosition -
public boolean hasArguments()
public boolean hasArguments(int count)
public net.sf.cglib.proxy.MethodProxy getProxy()
MethodProxy.invokeSuper(Object, Object[])public String getMethodName()
Method.
Method.getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||