org.huihoo.jfox.ejb.naming.server
Class Interceptor
java.lang.Object
|
+--org.huihoo.jfox.ejb.naming.server.Interceptor
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public abstract class Interceptor
- extends java.lang.Object
- implements java.io.Externalizable
- Version:
- $0.9.0$
- Author:
- tai_1219@sina.com
- See Also:
- Serialized Form
|
Method Summary |
Interceptor |
getNext()
|
abstract java.lang.Object |
invoke(Invocation mi)
|
void |
readExternal(java.io.ObjectInput in)
Externalization support. |
Interceptor |
setNext(Interceptor interceptor)
Static --------------------------------------------------------
Constructors --------------------------------------------------
Public --------------------------------------------------------
Interceptor implementation ------------------------------------
setNext()
String together the interceptors
We return the passed interceptor to allow for
interceptor1.setNext(interceptor2).setNext(interceptor3)... constructs. |
void |
writeExternal(java.io.ObjectOutput out)
Externalization support. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Interceptor
public Interceptor()
getNext
public Interceptor getNext()
- Returns:
- Interceptor
invoke
public abstract java.lang.Object invoke(Invocation mi)
throws java.lang.Throwable
- Parameters:
mi -
- Returns:
- Object
- Throws:
java.lang.Throwable
setNext
public Interceptor setNext(Interceptor interceptor)
- Static --------------------------------------------------------
Constructors --------------------------------------------------
Public --------------------------------------------------------
Interceptor implementation ------------------------------------
setNext()
String together the interceptors
We return the passed interceptor to allow for
interceptor1.setNext(interceptor2).setNext(interceptor3)... constructs.
- Parameters:
interceptor -
- Returns:
- Interceptor
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Externalization support.
- Specified by:
writeExternal in interface java.io.Externalizable
- Parameters:
out -
- Throws:
IOException@throws - java.io.IOException
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Externalization support.
- Specified by:
readExternal in interface java.io.Externalizable
- Parameters:
in -
- Throws:
java.io.IOException
ClassNotFoundException@throws - java.io.IOException
java.lang.ClassNotFoundException