1 package net.sf.crispy;
2
3 /**
4 * <code>Interceptor</code>/<code>Modifier</code> can filtered by implementation of this interface.
5 * The InterceptorHandler just fired events, where the registered
6 * <code>InterceptorFilter</code>-Method <code>accept</code> return <code>true</code>.
7 *
8 * @author Linke
9 *
10 */
11 public interface InterceptorFilter {
12
13 /**
14 * This method commit the execution of the <code>Interceptor</code>.
15 * @param pvContext The context of the execution.
16 * @return <code>true</code>, if the execution is continue, else <code>false</code>.
17 */
18 public boolean accept (InterceptorFilterContext pvContext);
19
20 }