Tuscany Core

org.apache.tuscany.core.wire
Interface Interceptor

All Known Subinterfaces:
TargetInvoker
All Known Implementing Classes:
AsyncInterceptor, ComponentTargetInvoker, ExternalServiceTargetInvoker, InvokerInterceptor, OneWayInterceptor, RequestResponseInterceptor

public interface Interceptor

Synchronous, around-style mediation associated with a client- or target- side wire.

Version:
$Rev: 394379 $ $Date: 2006-04-15 18:01:36 -0400 (Sat, 15 Apr 2006) $

Method Summary
 Message invoke(Message msg)
          Process a synchronous wire.
 void setNext(Interceptor next)
          Sets the next interceptor.
 

Method Detail

invoke

Message invoke(Message msg)
Process a synchronous wire.

Parameters:
msg - the request Message for the wire
Returns:
the response Message from the wire

setNext

void setNext(Interceptor next)
Sets the next interceptor.

Parameters:
next -

Tuscany Core

-