|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.proxy.Interceptor
The base class for all interceptors.
Field Summary | |
protected Interceptor |
nextInterceptor
The next interceptor in the chain. |
Constructor Summary | |
Interceptor()
|
Method Summary | |
Interceptor |
getNext()
|
abstract Object |
invoke(Invocation mi)
|
void |
readExternal(ObjectInput in)
Reads the next interceptor. |
Interceptor |
setNext(Interceptor interceptor)
Set the next interceptor in the chain. |
void |
writeExternal(ObjectOutput out)
Writes the next interceptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Interceptor nextInterceptor
Constructor Detail |
public Interceptor()
Method Detail |
public Interceptor setNext(Interceptor interceptor)
String together the interceptors We return the passed interceptor to allow for interceptor1.setNext(interceptor2).setNext(interceptor3)... constructs.
public Interceptor getNext()
public abstract Object invoke(Invocation mi) throws Throwable
Throwable
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |