public class AsyncInterceptorChain extends AbstractInterceptor implements Set<ConcreteInterceptor>
| Constructor and Description |
|---|
AsyncInterceptorChain() |
AsyncInterceptorChain(List<ConcreteInterceptor> interceptors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(RuntimeContext context) |
boolean |
add(ConcreteInterceptor concreteInterceptor) |
boolean |
addAll(Collection<? extends ConcreteInterceptor> c) |
Object |
after(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
Object result) |
void |
before(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
int |
getOrder() |
boolean |
isEmpty() |
Iterator<ConcreteInterceptor> |
iterator() |
Throwable |
onError(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
Throwable th) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic AsyncInterceptorChain()
public AsyncInterceptorChain(List<ConcreteInterceptor> interceptors)
public boolean accept(RuntimeContext context)
accept in interface ConcreteInterceptorpublic int getOrder()
getOrder in interface InterceptOrderedpublic void before(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint)
before in interface ConcreteInterceptorbefore in class AbstractInterceptorpublic Object after(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, Object result)
after in interface ConcreteInterceptorafter in class AbstractInterceptorpublic Throwable onError(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, Throwable th)
onError in interface ConcreteInterceptoronError in class AbstractInterceptorpublic int size()
size in interface Collection<ConcreteInterceptor>size in interface Set<ConcreteInterceptor>public boolean isEmpty()
isEmpty in interface Collection<ConcreteInterceptor>isEmpty in interface Set<ConcreteInterceptor>public boolean contains(Object o)
contains in interface Collection<ConcreteInterceptor>contains in interface Set<ConcreteInterceptor>public Iterator<ConcreteInterceptor> iterator()
iterator in interface Iterable<ConcreteInterceptor>iterator in interface Collection<ConcreteInterceptor>iterator in interface Set<ConcreteInterceptor>public Object[] toArray()
toArray in interface Collection<ConcreteInterceptor>toArray in interface Set<ConcreteInterceptor>public <T> T[] toArray(T[] a)
toArray in interface Collection<ConcreteInterceptor>toArray in interface Set<ConcreteInterceptor>public boolean add(ConcreteInterceptor concreteInterceptor)
add in interface Collection<ConcreteInterceptor>add in interface Set<ConcreteInterceptor>public boolean remove(Object o)
remove in interface Collection<ConcreteInterceptor>remove in interface Set<ConcreteInterceptor>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<ConcreteInterceptor>containsAll in interface Set<ConcreteInterceptor>public boolean addAll(Collection<? extends ConcreteInterceptor> c)
addAll in interface Collection<ConcreteInterceptor>addAll in interface Set<ConcreteInterceptor>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<ConcreteInterceptor>retainAll in interface Set<ConcreteInterceptor>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<ConcreteInterceptor>removeAll in interface Set<ConcreteInterceptor>public void clear()
clear in interface Collection<ConcreteInterceptor>clear in interface Set<ConcreteInterceptor>Copyright © 2018. All rights reserved.