当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
ByValueInvokerInterceptor (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.invocation
Class ByValueInvokerInterceptor
java.lang.Object
org.jboss.proxy.Interceptor
org.jboss.invocation.InvokerInterceptor
org.jboss.invocation.ByValueInvokerInterceptor
- All Implemented Interfaces:
- Externalizable, Serializable
- public class ByValueInvokerInterceptor
- extends InvokerInterceptor
- implements Externalizable
An InvokerInterceptor that does not optimize remote invocations.
This interceptor implements spec compliant behaviour.
- Version:
- $Revision: 1.5 $
- Author:
- Adrian Brock
- 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 invocation)
- Are you local?
- Overrides:
isLocal
in class InvokerInterceptor
- Parameters:
invocation
- the invocation
- Returns:
- true when the target is local
invoke
public Object invoke(Invocation invocation)
throws Exception
- Invoke using the invoker for remote invocations
- Overrides:
invoke
in class InvokerInterceptor
- Throws:
Exception
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Externalize this instance.
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class InvokerInterceptor
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Un-externalize this instance.
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class InvokerInterceptor
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.