Interface IPortletURLFactory

All Known Implementing Classes:
PortletURLFactory

public interface IPortletURLFactory
Interface for OSGi services that can produce a portlet URL for a specific context
  • Method Details

    • createRenderUrl

      IPortletURL createRenderUrl(Object context) throws Exception
      Create a render url
      Parameters:
      context - the context to pass to the factory (typically the FacesContext object)
      Returns:
      the url or null if the context is not understood
      Throws:
      Exception - if the context was understood but the request could not be completed
    • createActionUrl

      IPortletURL createActionUrl(Object context) throws Exception
      Create an action url
      Parameters:
      context - the context to pass to the factory (typically the FacesContext object)
      Returns:
      the url or null if the context is not understood
      Throws:
      Exception - if the context was understood but the request could not be completed