org.apache.pluto.factory.impl
Class PortletURLFactoryImpl
java.lang.Object
org.apache.pluto.factory.impl.PortletURLFactoryImpl
- All Implemented Interfaces:
- Factory, PortletURLFactory
- public class PortletURLFactoryImpl
- extends java.lang.Object
- implements PortletURLFactory
Method Summary |
void |
destroy()
Destroys the factory. |
javax.portlet.PortletURL |
getPortletURL(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
|
javax.portlet.PortletURL |
getPortletURL(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
boolean isAction)
|
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 |
PortletURLFactoryImpl
public PortletURLFactoryImpl()
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
getPortletURL
public javax.portlet.PortletURL getPortletURL(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
- Specified by:
getPortletURL
in interface PortletURLFactory
getPortletURL
public javax.portlet.PortletURL getPortletURL(PortletWindow portletWindow,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
boolean isAction)
- Specified by:
getPortletURL
in interface PortletURLFactory
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.