org.eclipse.swordfish.plugins.planner.policy
Class PolicyAssertionHintExtractor

java.lang.Object
  extended by org.eclipse.swordfish.plugins.planner.policy.PolicyAssertionHintExtractor
All Implemented Interfaces:
HintExtractor

public class PolicyAssertionHintExtractor
extends java.lang.Object
implements HintExtractor


Field Summary
static java.lang.String ENDPOINT_METADAT_PROPERTY
           
 
Constructor Summary
PolicyAssertionHintExtractor()
           
 
Method Summary
 java.util.List<Hint<?>> extractAssertions(org.apache.neethi.Policy policy)
           
 java.util.List<Hint<?>> extractHints(javax.jbi.messaging.MessageExchange messageExchange)
          Extracts hints from the given message exchange and return them as List.
 PolicyExtractor getPolicyExtractor()
           
 void setPolicyExtractor(PolicyExtractor policyExtractor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENDPOINT_METADAT_PROPERTY

public static final java.lang.String ENDPOINT_METADAT_PROPERTY
See Also:
Constant Field Values
Constructor Detail

PolicyAssertionHintExtractor

public PolicyAssertionHintExtractor()
Method Detail

getPolicyExtractor

public PolicyExtractor getPolicyExtractor()

setPolicyExtractor

public void setPolicyExtractor(PolicyExtractor policyExtractor)

extractHints

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

Specified by:
extractHints in interface HintExtractor
Returns:
The hints as List. If no hint has been found, an empty List or null may be returned.

extractAssertions

public java.util.List<Hint<?>> extractAssertions(org.apache.neethi.Policy policy)