@SPI
public interface ConditionMatcherFactory
| 限定符和类型 | 方法和说明 |
|---|---|
ConditionMatcher |
createMatcher(String key,
org.apache.dubbo.rpc.model.ModuleModel model)
Create a matcher instance for the key.
|
boolean |
shouldMatch(String key)
Check if the key is of the form of the current matcher type which this factory instance represents..
|
boolean shouldMatch(String key)
key - the key of a particular formConditionMatcher createMatcher(String key, org.apache.dubbo.rpc.model.ModuleModel model)
key - the key value conforms to a specific matcher specificationmodel - module modelCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.