Interface PortletApplicationObject
-
- All Superinterfaces:
PortletApplication
- All Known Implementing Classes:
PortletApplicationImpl
public interface PortletApplicationObject extends PortletApplication
Contains life cycle and wiring details for the kernel environment.- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPortletContainer(PortletContainer container)Add a container.voidaddPortletFilter(PortletFilter filter)Add a filter.PortletApplicationContextgetContext()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 Detail
-
setContext
void setContext(PortletApplicationContext context)
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
void addPortletContainer(PortletContainer container)
Add a container.- Parameters:
container- the container
-
removePortletContainer
void removePortletContainer(PortletContainer container)
Remove a container.- Parameters:
container- the container
-
addPortletFilter
void addPortletFilter(PortletFilter filter)
Add a filter.- Parameters:
filter- the filter
-
removePortletFilter
void removePortletFilter(PortletFilter filter)
Remove a filter.- Parameters:
filter- the filter
-
start
void start() throws ExceptionStarts 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.
-
-