|
||||||||||
| 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
public abstract class Interceptor
| Constructor Summary | |
|---|---|
Interceptor()
|
|
| Method Summary | |
|---|---|
protected abstract void |
afterInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
protected abstract void |
beforeInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
this method will be invoked before methodToBeInvoked is invoked |
protected Object |
doInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
Object |
getRealSubject()
Returns the realSubject. |
Object |
invoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
|
void |
setRealSubject(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 Object invoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerThrowablecom.develop.java.lang.reflect.InvocationHandler#invoke(Object, Method, Object[])
protected abstract void beforeInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
Throwable
protected abstract void afterInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
Throwable
protected Object doInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
Throwablepublic Object getRealSubject()
public void setRealSubject(Object realSubject)
realSubject - The realSubject to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||