org.apache.pluto.factory.impl
Class PortletPreferencesFactoryImpl
java.lang.Object
org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl
- All Implemented Interfaces:
- Factory, PortletPreferencesFactory
public class PortletPreferencesFactoryImpl
- extends java.lang.Object
- implements PortletPreferencesFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletPreferencesFactoryImpl
public PortletPreferencesFactoryImpl()
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 configurationproperties
- the factory properties
- Throws:
java.lang.Exception
- if the initialization fails
getPortletPreferences
public PortletPreferences getPortletPreferences(java.lang.Integer methodId,
PortletEntity portletEntity)
- Specified by:
getPortletPreferences
in interface PortletPreferencesFactory
getPortletPreferences
public PortletPreferences getPortletPreferences(java.lang.Integer methodId,
PortletDefinition portletDefinition)
- Specified by:
getPortletPreferences
in interface PortletPreferencesFactory
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