Interface PortletApplicationObject
- All Superinterfaces:
PortletApplication
- All Known Implementing Classes:
PortletApplicationImpl
Contains life cycle and wiring details for the kernel environment.
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPortletContainer(PortletContainer container) Add a container.voidaddPortletFilter(PortletFilter filter) Add a filter.Returns the context related to this application.voidremovePortletContainer(PortletContainer container) Remove a container.voidremovePortletFilter(PortletFilter filter) Remove a filter.voidsetContext(PortletApplicationContext context) Set the context required by that application.voidstart()Starts the application only.voidstop()Stops the application only.Methods inherited from interface org.gatein.pc.portlet.container.PortletApplication
getId, getPortletContainer, getPortletContainers
-
Method Details
-
setContext
Set the context required by that application.- Parameters:
context- the context
-
getContext
PortletApplicationContext getContext()Returns the context related to this application.- Specified by:
getContextin interfacePortletApplication- Returns:
- the context
-
addPortletContainer
Add a container.- Parameters:
container- the container
-
removePortletContainer
Remove a container.- Parameters:
container- the container
-
addPortletFilter
Add a filter.- Parameters:
filter- the filter
-
removePortletFilter
Remove a filter.- Parameters:
filter- the filter
-
start
Starts the application only. It does not take care of starting its components.- Throws:
Exception- any exception preventing the start
-
stop
void stop()Stops the application only. It does not take care of stopping its components.
-