org.apache.pluto |
Apache Pluto
The root package of the Pluto Portlet Container.
Portals embedding Pluto must implement the
{@link org.apache.pluto.services.PortletContainerServices}
interfac and then retrieve an instance of the container from
the {@link org.apache.pluto.PortletContainerFactory}.
Initialization of the container
PortletContainerServices services = // your implementation!
PortletContainer container =
PortletContainerFactory.createContainer("MyContainer", services);
ServletContext context = // the servlet context within which the portal is executing
container.init(servletContext);
Processing of Requests
if(isActionRequest) {
container.doAction(request, response);
}
else if(isRenderRequest) {
container.doRender(request, response);
}
Shutting Down the Container
container.destroy();
|
Java Source File Name | Type | Comment |
Constants.java | Class | Constant values used to bind internal portlet objects as attributes,
typically to a request. |
OptionalContainerServices.java | Interface | Defines the services necessary for integration between the Pluto Container
and a Portal. |
PlutoConfigurationException.java | Class | Exception thrown when Pluto configuration fails. |
PortletContainer.java | Interface | The publicized entry point into Pluto. |
PortletContainerException.java | Class | Thrown when an internal portlet container exception occurs within Pluto. |
PortletContainerFactory.java | Class | Factory used to create new PortletContainer instances. |
PortletContainerRuntimeException.java | Class | Runtime exception thrown when an unexpected condition is encountered. |
PortletWindow.java | Interface | Thin representation of the portlet window for which the container
request should be processed. |
PortletWindowID.java | Interface | The portlet window ID. |
RequiredContainerServices.java | Interface | This interface defines the services required for integration between the
Pluto Portlet Container and a Portal. |