KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > deliver > portal > information > ServletRequestFactoryIG


1 /* ===============================================================================
2  *
3  * Part of the InfoGlue Content Management Platform (www.infoglue.org)
4  *
5  * ===============================================================================
6  *
7  * Copyright (C)
8  *
9  * This program is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License version 2, as published by the
11  * Free Software Foundation. See the file LICENSE.html for more information.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
19  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
20  *
21  * ===============================================================================
22  */

23 package org.infoglue.deliver.portal.information;
24
25 import java.util.Map JavaDoc;
26
27 import javax.servlet.ServletConfig JavaDoc;
28 import javax.servlet.http.HttpServletRequest JavaDoc;
29
30 import org.apache.commons.logging.Log;
31 import org.apache.commons.logging.LogFactory;
32 import org.apache.pluto.om.window.PortletWindow;
33 import org.apache.pluto.portalImpl.servlet.ServletRequestFactory;
34
35 /**
36  * @author jand
37  *
38  */

39 public class ServletRequestFactoryIG implements ServletRequestFactory {
40     private static final Log log = LogFactory.getLog(ServletRequestFactoryIG.class);
41
42     /* (non-Javadoc)
43      * @see org.apache.pluto.portalImpl.servlet.ServletRequestFactory#getServletRequest(javax.servlet.http.HttpServletRequest, org.apache.pluto.om.window.PortletWindow)
44      */

45     public HttpServletRequest JavaDoc getServletRequest(
46         HttpServletRequest JavaDoc request,
47         PortletWindow portletWindow) {
48         log.debug("constructor");
49         return new ServletRequestIG(portletWindow, request);
50     }
51
52     /* (non-Javadoc)
53      * @see org.apache.pluto.factory.Factory#init(javax.servlet.ServletConfig, java.util.Map)
54      */

55     public void init(ServletConfig JavaDoc config, Map JavaDoc properties) throws Exception JavaDoc {
56     }
57
58     /* (non-Javadoc)
59      * @see org.apache.pluto.factory.Factory#destroy()
60      */

61     public void destroy() throws Exception JavaDoc {
62     }
63
64 }
65
Popular Tags