|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Method Summary | |
void |
destroy()
Destroys the factory. |
void |
init(javax.servlet.ServletConfig config,
java.util.Map properties)
Initializes the factory using the servlet configuration and the factory properties. |
Method Detail |
public void init(javax.servlet.ServletConfig config, java.util.Map properties) throws java.lang.Exception
config
- the servlet configurationproperties
- the factory properties
java.lang.Exception
- if the initialization failspublic void destroy() throws java.lang.Exception
java.lang.Exception
- if the destruction fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |