public synchronized void destroy() throws PortletContainerException { initialized = false; pluto.destroy(); }
public void shutdown() throws JetspeedException { try { PortletContainer container = null; if (componentManager.containsComponent(PortletContainer.class)) { container = componentManager.lookupComponent(PortletContainer.class); } if (container != null) { container.destroy(); } componentManager.stop(); } catch (PortletContainerException e) { throw new JetspeedException(e); } System.gc(); }