站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

Portlet - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet
Interface Portlet

All Known Implementing Classes:
FederatedPortlet, PortletContainer, PortletInvokerSupport.InternalPortlet, 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

public PortletContext getContext()
Return the portlet context.

Returns:
the portlet context

getInfo

public PortletInfo getInfo()
Return the portlet info.

Returns:
the portlet info

isRemote

public 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