Class PortletFilterImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.PortletFilterImpl
-
- All Implemented Interfaces:
PortletFilterObject,PortletFilter
public class PortletFilterImpl extends Object implements PortletFilterObject
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description PortletFilterImpl(ContainerFilterInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()Creates the portlet filter.voiddestroy()Destroys the portlet filter.PortletFilterContextgetContext()Returns the context of the portlet filterStringgetId()Returns the id.ContainerFilterInfogetInfo()PortletApplicationgetPortletApplication()Returns the wired application.<T> Tinstance(Class<T> type)voidsetContext(PortletFilterContext context)Set the context required by that filter.voidsetPortletApplication(PortletApplication application)Set the application on the portlet filter.voidstart()Starts the portlet filer.voidstop()Stops the portlet filter.
-
-
-
Constructor Detail
-
PortletFilterImpl
public PortletFilterImpl(ContainerFilterInfo info)
-
-
Method Detail
-
instance
public <T> T instance(Class<T> type)
-
getInfo
public ContainerFilterInfo getInfo()
-
getId
public String getId()
Description copied from interface:PortletFilterReturns the id.- Specified by:
getIdin interfacePortletFilter- Returns:
- the id
-
setPortletApplication
public void setPortletApplication(PortletApplication application)
Description copied from interface:PortletFilterObjectSet the application on the portlet filter.- Specified by:
setPortletApplicationin interfacePortletFilterObject- Parameters:
application- the application
-
getPortletApplication
public PortletApplication getPortletApplication()
Description copied from interface:PortletFilterReturns the wired application.- Specified by:
getPortletApplicationin interfacePortletFilter- Returns:
- the application
-
setContext
public void setContext(PortletFilterContext context)
Description copied from interface:PortletFilterObjectSet the context required by that filter.- Specified by:
setContextin interfacePortletFilterObject- Parameters:
context- the context
-
getContext
public PortletFilterContext getContext()
Description copied from interface:PortletFilterReturns the context of the portlet filter- Specified by:
getContextin interfacePortletFilter- Returns:
- the context
-
create
public void create() throws ExceptionDescription copied from interface:PortletFilterObjectCreates the portlet filter.- Specified by:
createin interfacePortletFilterObject- Throws:
Exception- any exception preventing the creation
-
start
public void start() throws ExceptionDescription copied from interface:PortletFilterObjectStarts the portlet filer.- Specified by:
startin interfacePortletFilterObject- Throws:
Exception- any exception preventing the start
-
stop
public void stop()
Description copied from interface:PortletFilterObjectStops the portlet filter.- Specified by:
stopin interfacePortletFilterObject
-
destroy
public void destroy()
Description copied from interface:PortletFilterObjectDestroys the portlet filter.- Specified by:
destroyin interfacePortletFilterObject
-
-