Class ArgumentConditionMatcherFactory
java.lang.Object
org.apache.dubbo.rpc.cluster.router.condition.matcher.argument.ArgumentConditionMatcherFactory
- All Implemented Interfaces:
ConditionMatcherFactory
@Activate(order=300)
public class ArgumentConditionMatcherFactory
extends Object
implements ConditionMatcherFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher(String key, org.apache.dubbo.rpc.model.ModuleModel model) Create a matcher instance for the key.booleanshouldMatch(String key) Check if the key is of the form of the current matcher type which this factory instance represents..
-
Constructor Details
-
ArgumentConditionMatcherFactory
public ArgumentConditionMatcherFactory()
-
-
Method Details
-
shouldMatch
Description copied from interface:ConditionMatcherFactoryCheck if the key is of the form of the current matcher type which this factory instance represents..- Specified by:
shouldMatchin interfaceConditionMatcherFactory- Parameters:
key- the key of a particular form- Returns:
- true if matches, otherwise false
-
createMatcher
Description copied from interface:ConditionMatcherFactoryCreate a matcher instance for the key.- Specified by:
createMatcherin interfaceConditionMatcherFactory- Parameters:
key- the key value conforms to a specific matcher specificationmodel- module model- Returns:
- the specific matcher instance
-