org.jboss.invocation
public class: MarshallingInvokerInterceptor [javadoc |
source]
java.lang.Object
org.jboss.proxy.Interceptor
org.jboss.invocation.InvokerInterceptor
org.jboss.invocation.MarshallingInvokerInterceptor
All Implemented Interfaces:
Externalizable
An InvokerInterceptor that does not optimize in VM invocations
- author:
Scott.Stark - @jboss.org
- version:
$ - Revision: 37459 $
| Method from org.jboss.invocation.MarshallingInvokerInterceptor Summary: |
|---|
|
invoke |
| Methods from org.jboss.invocation.InvokerInterceptor: |
|---|
|
getLocal, hasLocalTarget, invoke, invokeInvoker, invokeLocal, invokeMarshalled, isClustered, isLocal, isLocal, readExternal, setLocal, writeExternal |
| Method from org.jboss.invocation.MarshallingInvokerInterceptor Detail: |
public Object invoke(Invocation invocation) throws Exception {
if(isLocal(invocation))
return invokeMarshalled(invocation);
else
return invokeInvoker(invocation);
}
Use marshalled invocations when the target is colocated. |