org.apache.pluto.factory.impl
Class PortletConfigFactoryImpl
java.lang.Object
org.apache.pluto.factory.impl.PortletConfigFactoryImpl
- All Implemented Interfaces:
- Factory, PortletConfigFactory
public class PortletConfigFactoryImpl
- extends java.lang.Object
- implements PortletConfigFactory
Method Summary |
void |
destroy()
Destroys the factory. |
javax.portlet.PortletConfig |
getPortletConfig(javax.servlet.ServletConfig servletConfig,
javax.portlet.PortletContext portletContext,
PortletDefinition portletDefinition)
|
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 |
PortletConfigFactoryImpl
public PortletConfigFactoryImpl()
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
getPortletConfig
public javax.portlet.PortletConfig getPortletConfig(javax.servlet.ServletConfig servletConfig,
javax.portlet.PortletContext portletContext,
PortletDefinition portletDefinition)
- Specified by:
getPortletConfig
in interface PortletConfigFactory
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-2010 . All Rights Reserved.