org.apache.tuscany.core.wire.impl
Class InvokerInterceptor
java.lang.Object
org.apache.tuscany.core.wire.impl.InvokerInterceptor
- All Implemented Interfaces:
- Interceptor
public class InvokerInterceptor
- extends Object
- implements Interceptor
Serves as a tail interceptor on a target wire chain. This implementation dispatches to the target invoker
passed inside the wire message. Target invokers are passed from the source in order to allow for caching of
target instances.
- Version:
- $Rev$ $Date$
- See Also:
TargetInvoker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvokerInterceptor
public InvokerInterceptor()
invoke
public Message invoke(Message msg)
throws InvocationRuntimeException
- Description copied from interface:
Interceptor
- Process a synchronous wire.
- Specified by:
invoke
in interface Interceptor
- Parameters:
msg
- the request Message for the wire
- Returns:
- the response Message from the wire
- Throws:
InvocationRuntimeException
setNext
public void setNext(Interceptor next)
- Description copied from interface:
Interceptor
- Sets the next interceptor.
- Specified by:
setNext
in interface Interceptor
-