|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.core.interception.InterceptorRegistry<T>
public class InterceptorRegistry<T>
| Nested Class Summary | |
|---|---|
protected class |
InterceptorRegistry.AbstractInterceptorFactory
|
protected static interface |
InterceptorRegistry.InterceptorFactory
|
protected class |
InterceptorRegistry.PerMethodInterceptorFactory
|
class |
InterceptorRegistry.PrecedenceComparator
|
protected class |
InterceptorRegistry.SingletonInterceptorFactory
|
| Field Summary | |
|---|---|
protected List<InterceptorRegistry.InterceptorFactory> |
interceptors
|
protected Class<T> |
intf
|
protected List<InterceptorRegistryListener> |
listeners
|
protected List<String> |
precedenceList
|
protected Map<String,Integer> |
precedenceOrder
|
protected ResteasyProviderFactory |
providerFactory
|
| Constructor Summary | |
|---|---|
InterceptorRegistry(Class<T> intf,
ResteasyProviderFactory providerFactory)
|
|
| Method Summary | |
|---|---|
protected void |
addNewInterceptor(List<T> list,
Object interceptor)
|
void |
appendPrecedence(String precedence)
|
T[] |
bind(Class declaring,
AccessibleObject target)
|
List<T> |
bindForList(Class declaring,
AccessibleObject target)
|
Class<T> |
getIntf()
|
List<InterceptorRegistryListener> |
getListeners()
|
void |
insertPrecedenceAfter(String after,
String newPrecedence)
|
void |
insertPrecedenceBefore(String after,
String newPrecedence)
|
protected void |
recalculateOrder()
|
void |
register(Class<? extends T> clazz)
|
void |
register(T interceptor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResteasyProviderFactory providerFactory
protected Class<T> intf
protected List<InterceptorRegistry.InterceptorFactory> interceptors
protected Map<String,Integer> precedenceOrder
protected List<String> precedenceList
protected List<InterceptorRegistryListener> listeners
| Constructor Detail |
|---|
public InterceptorRegistry(Class<T> intf,
ResteasyProviderFactory providerFactory)
| Method Detail |
|---|
public List<InterceptorRegistryListener> getListeners()
public Class<T> getIntf()
protected void recalculateOrder()
public void appendPrecedence(String precedence)
public void insertPrecedenceAfter(String after,
String newPrecedence)
public void insertPrecedenceBefore(String after,
String newPrecedence)
public T[] bind(Class declaring,
AccessibleObject target)
public List<T> bindForList(Class declaring,
AccessibleObject target)
protected void addNewInterceptor(List<T> list,
Object interceptor)
public void register(Class<? extends T> clazz)
public void register(T interceptor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||