com.ibm.portal.resolver.service
Interface PortletRenderPocService

All Superinterfaces:
Disposable, Identifiable, PocService, PortletPocService
All Known Subinterfaces:
PortletResourcePocService

public interface PortletRenderPocService
extends PortletPocService

Version of the PortletPocService that can be used in a render request of a JSR286 compatible portlet.

This service must be disposed after it has been retrieved via its home interface.

Since:
6.1.0
See Also:
Disposable, PortletResourcePocService

Method Summary
 ResourceURL createResourceURL(java.net.URI pocURI)
          Creates a ResourceURL that references a POC URI.
 
Methods inherited from interface com.ibm.portal.resolver.service.PocService
createContext, createURI, createURI, createURI, getContext, getContextAccessor, getLookupService, getURLFactory
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

createResourceURL

ResourceURL createResourceURL(java.net.URI pocURI)
Creates a ResourceURL that references a POC URI. When this resource URL is actually invoked, the portlet receives a callback to the ResourceServingPortlet#serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse) method. If additional parameters are required for resource serving, use the BaseURL#setParameters(java.util.Map) method (or equivalents) to set them. The resource requests can be server conveniently via the PortletResourcePocService.serveResource() method.

Parameters:
pocURI - the URI of the POC
Returns:
the resource URL