org.eclipse.swordfish.core.planner.strategy
Interface HintExtractor

All Known Implementing Classes:
DefaultHintExtractor, HintExtractorImpl, PolicyAssertionHintExtractor

public interface HintExtractor

The HintExtractor is a component which extracts Hint objects from the current message exchange. It is registered as an OSGI service. Its purpose is to provide a List of Hints to corresponding FilterStrategy and SortingStrategy components which can use them to shape the interceptor chain for appropriate processing of the current message exchange.


Method Summary
 java.util.List<Hint<?>> extractHints(javax.jbi.messaging.MessageExchange messageExchange)
          Extracts hints from the given message exchange and return them as List.
 

Method Detail

extractHints

java.util.List<Hint<?>> extractHints(javax.jbi.messaging.MessageExchange messageExchange)
Extracts hints from the given message exchange and return them as List. The Hints may be of different types.

Returns:
The hints as List. If no hint has been found, an empty List or null may be returned.