View Javadoc

1   package net.sf.crispy.server;
2   
3   import net.sf.crispy.InterceptorHandler;
4   
5   /**
6    * Is responsible for creation of a new <code>InterceptorHandler</code> instance.
7    * This is a callback interface for the <code>SreviceEnnpoint</code>. With this interface you can 
8    * set a <code>InterceptorHandler</code> by the <code>ServiceEndpoint</code> to handle
9    * <code>Interceptor</code> and <code>Modifier</code>.
10   * 
11   * 
12   * @author Linke
13   *
14   * @since 1.1.0
15   */
16  public interface InterceptorHandlerCreator {
17  
18  	/**
19  	 * By every call is a new <code>InterceptorHandler</code> instance created.
20  	 * 
21  	 * @return A new <code>InterceptorHandler</code> instance.
22  	 */
23  	public InterceptorHandler createNewInterceptorHandlerInstance();
24  }