org.iqual.chaplin
Interface ReplyTransformer<T,S>
- All Known Implementing Classes:
- DefaultReplyTransformer, ElementSelector
public interface ReplyTransformer<T,S>
A class implementing this interface can be carried by an internal message and be instantiated when a reply to the
message is ready and about to be returned to the message invoker. The instance of this interface is given chance
to transform the reply before it is returned.
- Since:
- 21.11.2009 13:23:42
- Author:
- Zbynek Slajchrt
transform
Object transform(T reply,
S source)
- Parameters:
reply - the reply being returned to the invokersource - the message source (invoker)
- Returns:
- the transformed reply
Copyright © 2009 iquality.org. All Rights Reserved.