KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > displaytag > util > RequestHelperFactory


1 /**
2  * Licensed under the Artistic License; you may not use this file
3  * except in compliance with the License.
4  * You may obtain a copy of the License at
5  *
6  * http://displaytag.sourceforge.net/license.html
7  *
8  * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
9  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
10  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11  */

12 package org.displaytag.util;
13
14 import javax.servlet.jsp.PageContext JavaDoc;
15
16
17 /**
18  * RequestHelperFactory interface.
19  * <p>
20  * Users can specify a custom RequestHelperFactory implementation in <code>displaytag.properties</code>.
21  * </p>
22  * A custom RequestHelperFactory can return a different RequestHelper implementation (the
23  * {@link DefaultRequestHelperFactory}returns instaces of {@link DefaultRequestHelper})
24  * @author Fabrizio Giustina
25  * @version $Revision: 720 $ ($Author: fgiust $)
26  */

27 public interface RequestHelperFactory
28 {
29
30     /**
31      * returns a RequestHelper instance for a given request.
32      * @param pageContext PageContext passed by the tag
33      * @return RequestHelper instance
34      */

35     RequestHelper getRequestHelperInstance(PageContext JavaDoc pageContext);
36
37 }
38
Popular Tags