1 package org.exoplatform.services.portletcontainer.test.portlet; 2 3 import java.io.IOException ; 4 import javax.portlet.ActionRequest; 5 import javax.portlet.ActionResponse; 6 import javax.portlet.GenericPortlet; 7 import javax.portlet.PortletConfig; 8 import javax.portlet.PortletException; 9 import javax.portlet.RenderRequest; 10 import javax.portlet.RenderResponse; 11 12 16 17 24 public class PortletThatReceivesMessage extends GenericPortlet{ 25 26 public void init(PortletConfig portletConfig) throws PortletException { 27 } 28 29 public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) 30 throws PortletException, IOException { 31 } 32 33 public void render(RenderRequest renderRequest, RenderResponse renderResponse) 34 throws PortletException, IOException { 35 renderResponse.setContentType("text/html"); 36 } 37 38 public void destroy() { 39 } 40 } 41 | Popular Tags |