org.apache.pluto.factory.impl
Class PortletSessionFactoryImpl

java.lang.Object
  extended byorg.apache.pluto.factory.impl.PortletSessionFactoryImpl
All Implemented Interfaces:
Factory, PortletSessionFactory

public class PortletSessionFactoryImpl
extends java.lang.Object
implements PortletSessionFactory


Constructor Summary
PortletSessionFactoryImpl()
           
 
Method Summary
 void destroy()
          Destroys the factory.
 javax.portlet.PortletSession getPortletSession(PortletWindow portletWindow, javax.servlet.http.HttpSession httpSession)
           
 void init(javax.servlet.ServletConfig config, java.util.Map properties)
          Initializes the factory using the servlet configuration and the factory properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSessionFactoryImpl

public PortletSessionFactoryImpl()
Method Detail

init

public void init(javax.servlet.ServletConfig config,
                 java.util.Map properties)
          throws java.lang.Exception
Description copied from interface: Factory
Initializes the factory using the servlet configuration and the factory properties.

Specified by:
init in interface Factory
Parameters:
config - the servlet configuration
properties - the factory properties
Throws:
java.lang.Exception - if the initialization fails

getPortletSession

public javax.portlet.PortletSession getPortletSession(PortletWindow portletWindow,
                                                      javax.servlet.http.HttpSession httpSession)
Specified by:
getPortletSession in interface PortletSessionFactory

destroy

public void destroy()
             throws java.lang.Exception
Description copied from interface: Factory
Destroys the factory. This method allows the service to cleanup any resources.

Specified by:
destroy in interface Factory
Throws:
java.lang.Exception - if the destruction fails


Copyright © 2003-2007 . All Rights Reserved.