public abstract class AbstractDefinition extends Object implements InvokerFilter
| 构造器和说明 |
|---|
AbstractDefinition(int index,
String pattern,
UriPatternMatcher patternMatcher,
Map<String,String> initParams) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected AppContext |
getAppContext() |
int |
getIndex() |
Map<String,String> |
getInitParams()
Returns any context params supplied when creating the binding.
|
String |
getPattern()
Returns the pattern used to match against the binding.
|
protected abstract Object |
getTarget() |
UriPatternType |
getUriPatternType()
Returns the pattern type that this binding was created with.
|
void |
init(InvokerConfig config)
初始化过滤器
|
boolean |
matchesInvoker(Invoker invoker)
Returns true if the given URI will match this binding.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, doInvokepublic AbstractDefinition(int index,
String pattern,
UriPatternMatcher patternMatcher,
Map<String,String> initParams)
public int getIndex()
public Map<String,String> getInitParams()
public String getPattern()
public UriPatternType getUriPatternType()
public boolean matchesInvoker(Invoker invoker)
public final void init(InvokerConfig config) throws Throwable
InvokerFilterinit 在接口中 InvokerFilterconfig - 配置信息Throwable - 初始化过程中发生异常。protected AppContext getAppContext()