org.seasar.portlet
Class S2GenericPortlet
java.lang.Object
org.seasar.portlet.S2GenericPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
public class S2GenericPortlet
- extends java.lang.Object
- implements javax.portlet.Portlet, javax.portlet.PortletConfig
This is a Portlet implementation for Seasar2 environment.
S2GenericPortlet uses a Portlet instance defined by *.dicon.
- Author:
- Shinsuke Sugaya
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_PATH_KEY
public static final java.lang.String CONFIG_PATH_KEY
- See Also:
- Constant Field Values
PORTLET_NAME_KEY
public static final java.lang.String PORTLET_NAME_KEY
- See Also:
- Constant Field Values
S2GenericPortlet
public S2GenericPortlet()
destroy
public void destroy()
- Specified by:
destroy
in interface javax.portlet.Portlet
init
public void init(javax.portlet.PortletConfig portletConfig)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.Portlet
- Throws:
javax.portlet.PortletException
processAction
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Throws:
javax.portlet.PortletException
java.io.IOException
render
public void render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Specified by:
render
in interface javax.portlet.Portlet
- Throws:
javax.portlet.PortletException
java.io.IOException
getInitParameter
public java.lang.String getInitParameter(java.lang.String str)
- Specified by:
getInitParameter
in interface javax.portlet.PortletConfig
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
- Specified by:
getInitParameterNames
in interface javax.portlet.PortletConfig
getPortletContext
public javax.portlet.PortletContext getPortletContext()
- Specified by:
getPortletContext
in interface javax.portlet.PortletConfig
getPortletName
public java.lang.String getPortletName()
- Specified by:
getPortletName
in interface javax.portlet.PortletConfig
getResourceBundle
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
- Specified by:
getResourceBundle
in interface javax.portlet.PortletConfig
getGenericPortlet
protected javax.portlet.GenericPortlet getGenericPortlet()
throws javax.portlet.PortletException
- Returns:
- The Portlet instance defined by dicon file
- Throws:
javax.portlet.PortletException
Copyright 2006 null. All Rights Reserved.