org.jboss.invocation
Class ByValueInvokerInterceptor
java.lang.Object
org.jboss.proxy.Interceptor (src)
org.jboss.invocation.InvokerInterceptor (src)
org.jboss.invocation.ByValueInvokerInterceptor
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class ByValueInvokerInterceptor
- extends InvokerInterceptor (src)
- implements java.io.Externalizable
An InvokerInterceptor that does not optimize remote invocations.
This interceptor implements spec compliant behaviour.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByValueInvokerInterceptor
public ByValueInvokerInterceptor()
isLocal
public boolean isLocal(Invocation (src) invocation)
- Are you local?
- Overrides:
isLocal
in class InvokerInterceptor (src)
- Parameters:
invocation
- the invocation
- Returns:
- true when the target is local
invoke
public java.lang.Object invoke(Invocation (src) invocation)
throws java.lang.Exception
- Invoke using the invoker for remote invocations
- Overrides:
invoke
in class InvokerInterceptor (src)
- Throws:
java.lang.Exception
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Externalize this instance.
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class InvokerInterceptor (src)
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Un-externalize this instance.
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class InvokerInterceptor (src)
- Throws:
java.io.IOException
java.lang.ClassNotFoundException