Class JaxrsInterceptorRegistryImpl<T>
java.lang.Object
org.jboss.resteasy.core.interception.jaxrs.JaxrsInterceptorRegistryImpl<T>
- All Implemented Interfaces:
JaxrsInterceptorRegistry<T>
- Direct Known Subclasses:
ClientRequestFilterRegistryImpl
,ClientResponseFilterRegistryImpl
,ContainerRequestFilterRegistryImpl
,ContainerResponseFilterRegistryImpl
,ReaderInterceptorRegistryImpl
,WriterInterceptorRegistryImpl
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
protected class
protected class
Nested classes/interfaces inherited from interface org.jboss.resteasy.spi.interception.JaxrsInterceptorRegistry
JaxrsInterceptorRegistry.AscendingPrecedenceComparator, JaxrsInterceptorRegistry.DescendingPrecedenceComparator, JaxrsInterceptorRegistry.InterceptorFactory, JaxrsInterceptorRegistry.Match
-
Field Summary
Modifier and TypeFieldDescriptionprotected T[]
protected T[]
protected List
<JaxrsInterceptorRegistry.InterceptorFactory> protected List
<JaxrsInterceptorRegistryListener> protected ResteasyProviderFactory
-
Constructor Summary
ConstructorDescriptionJaxrsInterceptorRegistryImpl
(ResteasyProviderFactory providerFactory, Class<T> intf) -
Method Summary
Modifier and TypeMethodDescriptionclone
(ResteasyProviderFactory factory) getIntf()
protected static List
<Class<? extends Annotation>> getNameBound
(Class<?> declaring) static int
getPriority
(Class<?> declaring) T[]
postMatch
(Class declaring, AccessibleObject target) T[]
preMatch()
void
void
registerClass
(Class<? extends T> declaring) void
registerClass
(Class<? extends T> declaring, int priority) void
registerSingleton
(T interceptor) void
registerSingleton
(T interceptor, int priority) protected void
sort
(List<JaxrsInterceptorRegistry.Match> matches)
-
Field Details
-
interceptors
-
listeners
-
providerFactory
-
intf
-
cachedPreMatch
-
cachedPostMatch
-
-
Constructor Details
-
JaxrsInterceptorRegistryImpl
-
-
Method Details
-
getNameBound
-
getPriority
-
clone
- Specified by:
clone
in interfaceJaxrsInterceptorRegistry<T>
-
getIntf
- Specified by:
getIntf
in interfaceJaxrsInterceptorRegistry<T>
-
getListeners
- Specified by:
getListeners
in interfaceJaxrsInterceptorRegistry<T>
-
preMatch
- Specified by:
preMatch
in interfaceJaxrsInterceptorRegistry<T>
-
postMatch
- Specified by:
postMatch
in interfaceJaxrsInterceptorRegistry<T>
-
sort
-
register
- Specified by:
register
in interfaceJaxrsInterceptorRegistry<T>
-
registerClass
- Specified by:
registerClass
in interfaceJaxrsInterceptorRegistry<T>
-
registerClass
- Specified by:
registerClass
in interfaceJaxrsInterceptorRegistry<T>
-
registerSingleton
- Specified by:
registerSingleton
in interfaceJaxrsInterceptorRegistry<T>
-
registerSingleton
- Specified by:
registerSingleton
in interfaceJaxrsInterceptorRegistry<T>
-