org.eclipse.swordfish.internal.core.planner
Class PlannerImpl

java.lang.Object
  extended by org.eclipse.swordfish.internal.core.planner.PlannerImpl
All Implemented Interfaces:
Planner, org.osgi.service.cm.ManagedService

public class PlannerImpl
extends java.lang.Object
implements Planner, org.osgi.service.cm.ManagedService


Constructor Summary
PlannerImpl()
           
 
Method Summary
 java.util.List<Interceptor> getInterceptorChain(java.util.Set<Interceptor> interceptors, javax.jbi.messaging.MessageExchange messageExchange)
          Based on hintExtractor, sorting and filtering strategies creates the interceptor chain for each messageExchange
 java.util.Set<Interceptor> getRegisteredInterceptors()
           
 void setFilterStrategy(FilterStrategy filterStrategy)
           
 void setHintExtractor(HintExtractor hintExtractor)
           
 void setInterceptorRegistry(ReadOnlyRegistry<Interceptor> interceptorRegistry)
           
 void setSortingStrategy(SortingStrategy sortingStrategy)
           
 void updated(java.util.Dictionary dictionary)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlannerImpl

public PlannerImpl()
Method Detail

getInterceptorChain

public java.util.List<Interceptor> getInterceptorChain(java.util.Set<Interceptor> interceptors,
                                                       javax.jbi.messaging.MessageExchange messageExchange)
Description copied from interface: Planner
Based on hintExtractor, sorting and filtering strategies creates the interceptor chain for each messageExchange

Specified by:
getInterceptorChain in interface Planner
Parameters:
interceptors - - registered interceptors
messageExchange - - giveb=n jbi messageExchange
Returns:

getRegisteredInterceptors

public java.util.Set<Interceptor> getRegisteredInterceptors()
Specified by:
getRegisteredInterceptors in interface Planner

setSortingStrategy

public void setSortingStrategy(SortingStrategy sortingStrategy)

setFilterStrategy

public void setFilterStrategy(FilterStrategy filterStrategy)

setHintExtractor

public void setHintExtractor(HintExtractor hintExtractor)

setInterceptorRegistry

public void setInterceptorRegistry(ReadOnlyRegistry<Interceptor> interceptorRegistry)

updated

public void updated(java.util.Dictionary dictionary)
             throws org.osgi.service.cm.ConfigurationException
Specified by:
updated in interface org.osgi.service.cm.ManagedService
Throws:
org.osgi.service.cm.ConfigurationException