|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sf.cglib.NoOpInterceptor
An implementation of MethodInterceptor that does nothing except call the original method.
| Field Summary | |
static NoOpInterceptor |
INSTANCE
|
| Constructor Summary | |
NoOpInterceptor()
|
|
| Method Summary | |
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
MethodProxy proxy)
All generated proxied methods call this method instead of the original method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final NoOpInterceptor INSTANCE
| Constructor Detail |
public NoOpInterceptor()
| Method Detail |
public java.lang.Object intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
MethodProxy proxy)
throws java.lang.Throwable
MethodInterceptorintercept in interface MethodInterceptornet.sf.cglib.MethodInterceptorobj - "this", the enhanced objectmethod - intercepted Methodargs - argument array; primitive types are wrappedproxy - used to invoke super (non-intercepted method); may be called
as many times as neededjava.lang.Throwable - any exception may be thrown; if so, super method will not be invokedMethodProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||