This document is currently very breif. Please feel free to submit patches.
Step 1: Implement org.apache.pluto.PortletContainerServices
Step 2: Manage the Portlet Container Lifecycle:
// // Step 1) Create and instance of the PortletContainerService // PortletContainerServices impl = . . . // // Step 2) Request a new container from the container factory // PortletContainerFactory factory = PortletContainerFactory.getInstance(); PortletContainer container = factory.createContainer( "My Container Name", impl ); // // Step 3) Initialize the Container with the embedding // application's ServletContext // container.init(ctx);
// Load a portlet container.doLoad(portletWindow, request, response); // Process a Portlet Action container.doAction(portletWindow, request, response); // Render a portlet container.doRender(portletWindow, request, response);