1 54 55 package org.apache.jetspeed.portlet; 56 57 import org.apache.jetspeed.portlet.event.MessageEvent; 58 import org.apache.jetspeed.portlet.event.MessageListener; 59 60 import java.io.InputStream ; 61 import java.io.IOException ; 62 63 import java.util.Locale ; 64 import java.util.Enumeration ; 65 66 75 76 public interface PortletContext 77 { 78 92 93 public String getInitParameter (String name); 94 95 102 103 public Enumeration getInitParameterNames (); 104 105 116 117 public void setAttribute (String name, Object value); 118 119 132 133 public Object getAttribute (String name); 134 135 141 142 public Enumeration getAttributeNames (); 143 144 150 151 public void removeAttribute (String name); 152 153 191 public void include (String path, 192 PortletRequest request, 193 PortletResponse response) throws PortletException, 194 IOException ; 195 196 215 public InputStream getResourceAsStream (String path); 216 217 235 236 public String getText (String key, String bundleName, Locale locale); 237 238 260 public void send (String aPortletName, PortletMessage aMessage); 261 262 270 271 public int getMajorVersion (); 272 273 281 282 public int getMinorVersion (); 283 284 295 296 public String getContainerInfo (); 297 298 304 305 public PortletLog getLog (); 306 } 307 | Popular Tags |