|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.util.interceptor.Interceptor
| Constructor Summary | |
Interceptor()
|
|
| Method Summary | |
protected abstract void |
afterInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
protected abstract void |
beforeInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
this method will be invoked before methodToBeInvoked is invoked |
protected java.lang.Object |
doInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
java.lang.Object |
getRealSubject()
Returns the realSubject. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
|
void |
setRealSubject(java.lang.Object realSubject)
Sets the realSubject. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Interceptor()
| Method Detail |
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablecom.develop.java.lang.reflect.InvocationHandler#invoke(Object, Method, Object[])
protected abstract void beforeInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
java.lang.Throwable
protected abstract void afterInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
java.lang.Throwable
protected java.lang.Object doInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.Object getRealSubject()
public void setRealSubject(java.lang.Object realSubject)
realSubject - The realSubject to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||