public interface Factory
This interface defines portal/container factories and their life-cycle.
A Pluto defines the interfaces for the factories, and the portal implements the factory.
A portal's factory implementation must be a derivative from this interface and implement the
init()
and destroy()
methods to meet Pluto's factory contract.
Factories create the shared classes between the portal and Pluto container.
Implementations are created by portal provided factories. Many of the classes created by the factories
are the implementations of the Java Portlet API interfaces.
Factory Managed Interfaces per Pluto requirements:
javax.portlet.ActionRequest
javax.portlet.ActionResponse
javax.portlet.RenderRequest
javax.portlet.RenderResponse
javax.portlet.PortletSession
javax.portlet.PortletConfig
javax.portlet.PortletContext
javax.portlet.PortletPreferences
javax.portlet.PortalContext
javax.portlet.PortletURL
javax.portlet.PortletPreferences
javax.portlet.PreferencesValidator
javax.servlet.http.HttpServletRequest
javax.servlet.http.HttpServletResponse
org.apache.pluto.invoker.PortletInvoker
org.apache.pluto.util.NamespaceMapper
org.apache.pluto.om.ControllerFactory
Pluto Service Providers
org.apache.pluto.services.information.InformationProviderService
org.apache.pluto.services.information.DynamicInformationProvider
org.apache.pluto.services.information.PortletActionProvider
org.apache.pluto.services.information.PortalContextProvider
void init(javax.servlet.ServletConfig config, java.util.Map properties) throws java.lang.Exception
config
- the servlet configurationproperties
- the factory propertiesjava.lang.Exception
- if the initialization failsvoid destroy() throws java.lang.Exception
java.lang.Exception
- if the destruction failsCopyright © 2003-2013 . All Rights Reserved.