net.sf.jportlet.impl
Class PortletServiceConfigImpl

java.lang.Object
  |
  +--net.sf.jportlet.impl.PortletServiceConfigImpl
All Implemented Interfaces:
PortletServiceConfig

public class PortletServiceConfigImpl
extends java.lang.Object
implements PortletServiceConfig

Implementation of PortletServiceConfig

Author:
Herve Tchepannou

Constructor Summary
PortletServiceConfigImpl(java.lang.String prefix, java.util.Properties serviceConfig, javax.servlet.ServletConfig servletConfig, net.sf.jportlet.portlet.application.PortletApplication application)
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String name)
          Return the value of an initialization parameter of the service
 java.util.Enumeration getInitParameterNames()
          Returns all the names of the initialization parameters
 net.sf.jportlet.service.PortletServiceContext getServiceContext()
          Returns the context of the service
 javax.servlet.ServletConfig getServletConfig()
          Return the configuration of the container servlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletServiceConfigImpl

public PortletServiceConfigImpl(java.lang.String prefix,
                                java.util.Properties serviceConfig,
                                javax.servlet.ServletConfig servletConfig,
                                net.sf.jportlet.portlet.application.PortletApplication application)
Method Detail

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Description copied from interface: PortletServiceConfig
Return the value of an initialization parameter of the service

Specified by:
getInitParameter in interface PortletServiceConfig
Parameters:
name - name of the parameter
Returns:
Value of the parameter
See Also:
PortletServiceConfig.getInitParameter(java.lang.String)

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Description copied from interface: PortletServiceConfig
Returns all the names of the initialization parameters

Specified by:
getInitParameterNames in interface PortletServiceConfig
Returns:
Enumeration
See Also:
PortletServiceConfig.getInitParameterNames()

getServiceContext

public net.sf.jportlet.service.PortletServiceContext getServiceContext()
Description copied from interface: PortletServiceConfig
Returns the context of the service

Specified by:
getServiceContext in interface PortletServiceConfig
Returns:
See Also:
PortletServiceConfig.getServiceContext()

getServletConfig

public javax.servlet.ServletConfig getServletConfig()
Description copied from interface: PortletServiceConfig
Return the configuration of the container servlet

Specified by:
getServletConfig in interface PortletServiceConfig
See Also:
PortletServiceConfig.getServletConfig()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.