org.jboss.portal.portlet
Interface Portlet

All Known Implementing Classes:
ConsumerPortlet, FederatedPortlet, ProducerPortlet, WSRPPortlet

public interface Portlet

Defines a logical portlet.

Version:
$Revision: 5448 $
Author:
Julien Viet

Method Summary
 PortletContext getContext()
          Return the portlet context.
 PortletInfo getInfo()
          Return the portlet info.
 boolean isRemote()
          Determines whether the described portlet is remote or not.
 

Method Detail

getContext

PortletContext getContext()
Return the portlet context.

Returns:
the portlet context

getInfo

PortletInfo getInfo()
Return the portlet info.

Returns:
the portlet info

isRemote

boolean isRemote()
Determines whether the described portlet is remote or not.

Returns:
true if the described portlet runs in a remote context (such as WSRP), false otherwise