net.sf.jportlet.impl
Class PortletConfigImpl

java.lang.Object
  |
  +--net.sf.jportlet.impl.PortletConfigImpl
All Implemented Interfaces:
PortletConfig, javax.servlet.ServletConfig

public class PortletConfigImpl
extends java.lang.Object
implements PortletConfig

Implementation of PortletConfig

Author:
Herve Tchepannou

Constructor Summary
PortletConfigImpl(net.sf.jportlet.portlet.application.PortletProxy proxy, javax.servlet.ServletConfig servletConfig, net.sf.jportlet.portlet.application.PortletApplication application)
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String name)
           
 java.util.Enumeration getInitParameterNames()
           
 net.sf.jportlet.portlet.PortletContext getPortletContext()
          Returns the context of the portlet
 java.lang.String getPortletName()
          Returns the name of the portlet
 javax.servlet.ServletContext getServletContext()
           
 java.lang.String getServletName()
           
 boolean supports(Portlet.Mode mode, net.sf.jportlet.portlet.Client client)
          Returns whether the portlet supports the given mode for the given client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletConfigImpl

public PortletConfigImpl(net.sf.jportlet.portlet.application.PortletProxy proxy,
                         javax.servlet.ServletConfig servletConfig,
                         net.sf.jportlet.portlet.application.PortletApplication application)
Method Detail

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Specified by:
getInitParameter in interface PortletConfig
See Also:
ServletConfig.getInitParameter(java.lang.String)

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface PortletConfig
See Also:
ServletConfig.getInitParameterNames()

getPortletContext

public net.sf.jportlet.portlet.PortletContext getPortletContext()
Description copied from interface: PortletConfig
Returns the context of the portlet

Specified by:
getPortletContext in interface PortletConfig
Returns:
PortletContext
See Also:
PortletConfig.getPortletContext()

getPortletName

public java.lang.String getPortletName()
Description copied from interface: PortletConfig
Returns the name of the portlet

Specified by:
getPortletName in interface PortletConfig
Returns:
String
See Also:
PortletConfig.getPortletName()

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getServletContext()

getServletName

public java.lang.String getServletName()
Specified by:
getServletName in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getServletName()

supports

public boolean supports(Portlet.Mode mode,
                        net.sf.jportlet.portlet.Client client)
Description copied from interface: PortletConfig
Returns whether the portlet supports the given mode for the given client.

Specified by:
supports in interface PortletConfig
Parameters:
mode -
client -
Returns:
boolean
See Also:
PortletConfig.supports(net.sf.jportlet.portlet.Portlet.Mode, net.sf.jportlet.portlet.Client)


Copyright © 2002 Herve Tchepannou. All Rights Reserved.