Class JaxrsInterceptorRegistryImpl.AbstractInterceptorFactory
- java.lang.Object
-
- org.jboss.resteasy.core.interception.jaxrs.JaxrsInterceptorRegistryImpl.AbstractInterceptorFactory
-
- All Implemented Interfaces:
JaxrsInterceptorRegistry.InterceptorFactory
- Direct Known Subclasses:
JaxrsInterceptorRegistryImpl.OnDemandInterceptorFactory,JaxrsInterceptorRegistryImpl.SingletonInterceptorFactory
- Enclosing class:
- JaxrsInterceptorRegistryImpl<T>
public abstract class JaxrsInterceptorRegistryImpl.AbstractInterceptorFactory extends Object implements JaxrsInterceptorRegistry.InterceptorFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected Classdeclaringprotected booleanignorePrematchprotected booleaninitializedprotected List<Class<? extends Annotation>>nameBoundprotected intorder
-
Constructor Summary
Constructors Constructor Description AbstractInterceptorFactory(Class declaring)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckInitialize()protected ObjectcreateInterceptor()protected abstract ObjectgetInterceptor()protected abstract voidinitialize()JaxrsInterceptorRegistry.MatchpostMatch(Class targetClass, AccessibleObject target)JaxrsInterceptorRegistry.MatchpreMatch()voidsetIgnorePrematch(boolean ignorePrematch)voidsetOrder(int order)protected voidsetPrecedence(Class<?> declaring)
-
-
-
Field Detail
-
declaring
protected final Class declaring
-
order
protected int order
-
nameBound
protected List<Class<? extends Annotation>> nameBound
-
initialized
protected volatile boolean initialized
-
ignorePrematch
protected boolean ignorePrematch
-
-
Constructor Detail
-
AbstractInterceptorFactory
public AbstractInterceptorFactory(Class declaring)
-
-
Method Detail
-
setPrecedence
protected void setPrecedence(Class<?> declaring)
-
initialize
protected abstract void initialize()
-
getInterceptor
protected abstract Object getInterceptor()
-
checkInitialize
protected void checkInitialize()
-
setOrder
public void setOrder(int order)
-
setIgnorePrematch
public void setIgnorePrematch(boolean ignorePrematch)
-
preMatch
public JaxrsInterceptorRegistry.Match preMatch()
- Specified by:
preMatchin interfaceJaxrsInterceptorRegistry.InterceptorFactory
-
postMatch
public JaxrsInterceptorRegistry.Match postMatch(Class targetClass, AccessibleObject target)
- Specified by:
postMatchin interfaceJaxrsInterceptorRegistry.InterceptorFactory
-
createInterceptor
protected Object createInterceptor()
-
-