|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.proxy.DelegatingMethodInvocation<T>
public class DelegatingMethodInvocation<T>
Proxy method invocation
| Field Summary | |
|---|---|
private Object[] |
args
Invocation arguments |
private T |
delegate
Target (real) object |
private Method |
method
Method |
private Object |
proxy
Proxy |
| Constructor Summary | |
|---|---|
DelegatingMethodInvocation(T target,
Object proxy,
Method method,
Object... args)
|
|
| Method Summary | |
|---|---|
Object |
call()
|
Object[] |
getArgs()
|
T |
getDelegate()
Get wrapped object. |
Method |
getMethod()
|
Object |
getProxy()
|
Method |
getTargetMethod()
|
Object |
proceed()
|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final T delegate
private final Object proxy
private final Method method
private final Object[] args
| Constructor Detail |
|---|
public DelegatingMethodInvocation(T target,
Object proxy,
Method method,
Object... args)
| Method Detail |
|---|
public Object[] getArgs()
public Method getMethod()
public Object getProxy()
public T getDelegate()
Delegating
getDelegate in interface Delegating<T>
public Method getTargetMethod()
throws NoSuchMethodException
NoSuchMethodException
public Object proceed()
throws Throwable
Throwablepublic void run()
run in interface Runnable
public Object call()
throws Exception
call in interface Callable<Object>Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||