public class DefaultInterceptorFactory extends Object implements InterceptorFactory
Modifier and Type | Field and Description |
---|---|
protected InterceptorChain |
interceptorChain |
protected Map<Class,Interceptor> |
interceptorMap |
Constructor and Description |
---|
DefaultInterceptorFactory() |
Modifier and Type | Method and Description |
---|---|
protected <T extends Interceptor> |
createInterceptor(Class<T> clazz) |
<T extends Interceptor> |
getInterceptor(Class<T> clazz) |
InterceptorChain |
getInterceptorChain() |
protected final Map<Class,Interceptor> interceptorMap
protected InterceptorChain interceptorChain
public InterceptorChain getInterceptorChain()
getInterceptorChain
in interface InterceptorFactory
public <T extends Interceptor> T getInterceptor(Class<T> clazz)
getInterceptor
in interface InterceptorFactory
protected <T extends Interceptor> Interceptor createInterceptor(Class<T> clazz)
Copyright © 2020. All rights reserved.