KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > pluto > factory > impl > ActionRequestFactoryImpl


1 /*
2  * Copyright 2003,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17
18  */

19
20 package org.apache.pluto.factory.impl;
21
22 import java.util.Map JavaDoc;
23
24 import javax.portlet.ActionRequest;
25 import javax.servlet.ServletConfig JavaDoc;
26
27 import org.apache.pluto.core.impl.ActionRequestImpl;
28 import org.apache.pluto.factory.ActionRequestFactory;
29 import org.apache.pluto.om.window.PortletWindow;
30
31 /**
32
33  *
34  * To change this generated comment edit the template variable "typecomment":
35  * Window>Preferences>Java>Templates.
36  * To enable and disable the creation of type comments go to
37  * Window>Preferences>Java>Code Generation.
38  */

39 public class ActionRequestFactoryImpl implements ActionRequestFactory {
40
41     /**
42      * @see org.apache.pluto.factory.Factory#init(ServletConfig, Map)
43      */

44     public void init(ServletConfig JavaDoc config, Map JavaDoc properties) throws Exception JavaDoc {
45     }
46
47     // org.apache.pluto.factory.ActionRequestFactory implementation -------------------------------
48
public ActionRequest getActionRequest(PortletWindow portletWindow,
49                                           javax.servlet.http.HttpServletRequest JavaDoc servletRequest,
50                                           javax.servlet.http.HttpServletResponse JavaDoc servletResponse)
51     {
52         ActionRequest actionRequest = new ActionRequestImpl(portletWindow, servletRequest);
53         return actionRequest;
54     }
55     // --------------------------------------------------------------------------------------------
56

57     // additional methods -------------------------------------------------------------------------
58
/**
59      * @see org.apache.pluto.factory.Factory#destroy()
60      */

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