public class PortletFilterImpl extends Object implements PortletFilterObject
| Constructor and Description |
|---|
PortletFilterImpl(ContainerFilterInfo info) |
| Modifier and Type | Method and Description |
|---|---|
void |
create()
Creates the portlet filter.
|
void |
destroy()
Destroys the portlet filter.
|
PortletFilterContext |
getContext()
Returns the context of the portlet filter
|
String |
getId()
Returns the id.
|
ContainerFilterInfo |
getInfo() |
PortletApplication |
getPortletApplication()
Returns the wired application.
|
<T> T |
instance(Class<T> type) |
void |
setContext(PortletFilterContext context)
Set the context required by that filter.
|
void |
setPortletApplication(PortletApplication application)
Set the application on the portlet filter.
|
void |
start()
Starts the portlet filer.
|
void |
stop()
Stops the portlet filter.
|
public PortletFilterImpl(ContainerFilterInfo info)
public <T> T instance(Class<T> type)
public ContainerFilterInfo getInfo()
public String getId()
PortletFiltergetId in interface PortletFilterpublic void setPortletApplication(PortletApplication application)
PortletFilterObjectsetPortletApplication in interface PortletFilterObjectapplication - the applicationpublic PortletApplication getPortletApplication()
PortletFiltergetPortletApplication in interface PortletFilterpublic void setContext(PortletFilterContext context)
PortletFilterObjectsetContext in interface PortletFilterObjectcontext - the contextpublic PortletFilterContext getContext()
PortletFiltergetContext in interface PortletFilterpublic void create()
throws Exception
PortletFilterObjectcreate in interface PortletFilterObjectException - any exception preventing the creationpublic void start()
throws Exception
PortletFilterObjectstart in interface PortletFilterObjectException - any exception preventing the startpublic void stop()
PortletFilterObjectstop in interface PortletFilterObjectpublic void destroy()
PortletFilterObjectdestroy in interface PortletFilterObjectCopyright © 2003-2020 GateIn. All Rights Reserved.