org.eobjects.metamodel.intercept
Class InterceptorList<E>
java.lang.Object
org.eobjects.metamodel.intercept.InterceptorList<E>
- Type Parameters:
E - the thing to intercept
public final class InterceptorList<E>
- extends Object
Represents a list of interceptors
- Author:
- Kasper Sørensen
- See Also:
Interceptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorList
public InterceptorList()
add
public void add(Interceptor<E> interceptor)
remove
public void remove(Interceptor<E> interceptor)
getInterceptorOfType
public <I extends Interceptor<E>> I getInterceptorOfType(Class<I> interceptorClazz)
- Gets the first (if any) interceptor of a specific type.
- Parameters:
interceptorClazz -
- Returns:
isEmpty
public boolean isEmpty()
interceptAll
protected E interceptAll(E input)
Copyright © 2007-2013. All Rights Reserved.