Class WeakHashMapBasedConditionEvaluator<ObjectType,KeyType,ServiceType>
- java.lang.Object
-
- tools.mdsd.somde.services.internal.impl.AbstractConditionEvaluator<ObjectType,KeyType,ServiceType>
-
- tools.mdsd.somde.services.internal.impl.WeakHashMapBasedConditionEvaluator<ObjectType,KeyType,ServiceType>
-
- All Implemented Interfaces:
ConditionEvaluator<ObjectType,ServiceType>
public class WeakHashMapBasedConditionEvaluator<ObjectType,KeyType,ServiceType> extends AbstractConditionEvaluator<ObjectType,KeyType,ServiceType>
-
-
Constructor Summary
Constructors Constructor Description WeakHashMapBasedConditionEvaluator(Service.RegistrationType<ObjectType,KeyType> registrationType, Map<KeyType,ServiceStreamProvider<ServiceType>> guardedProviders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServiceStreamProvider<ServiceType>
findServiceProvider(KeyType key)
-
Methods inherited from class tools.mdsd.somde.services.internal.impl.AbstractConditionEvaluator
selectSuitableServiceStreamProvider
-
-
-
-
Constructor Detail
-
WeakHashMapBasedConditionEvaluator
public WeakHashMapBasedConditionEvaluator(Service.RegistrationType<ObjectType,KeyType> registrationType, Map<KeyType,ServiceStreamProvider<ServiceType>> guardedProviders)
-
-
Method Detail
-
findServiceProvider
protected ServiceStreamProvider<ServiceType> findServiceProvider(KeyType key)
- Specified by:
findServiceProvider
in classAbstractConditionEvaluator<ObjectType,KeyType,ServiceType>
-
-