KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > commands > AbstractCommand


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under GPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.commands;
12
13 import org.apache.log4j.Logger;
14 import org.jboss.portal.common.command.Command;
15 import org.jboss.portal.common.command.Configurator;
16 import org.jboss.portal.common.command.ReflectedConfigurator;
17 import org.jboss.portlet.command.ActionCommand;
18 import org.jboss.portlet.JBossActionRequest;
19 import org.jboss.portlet.JBossActionResponse;
20
21 /**
22  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
23  * @version $Revision: 1.2 $
24  */

25 public abstract class AbstractCommand
26    extends ActionCommand
27    implements CommandConstants
28 {
29    /** DOCUMENT_ME */
30    protected Logger log = Logger.getLogger(getClass());
31    private final ReflectedConfigurator configurator = new ReflectedConfigurator(this);
32
33    protected AbstractCommand(JBossActionRequest request, JBossActionResponse response)
34    {
35       super(request, response);
36    }
37
38    /**
39     * DOCUMENT_ME
40     *
41     * @return DOCUMENT_ME
42     */

43    public Configurator getConfigurator()
44    {
45       return configurator;
46    }
47 }
Popular Tags