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

WSRPPortlet - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.consumer.portlet
Class WSRPPortlet

java.lang.Object
  extended byorg.jboss.portal.wsrp.consumer.portlet.WSRPPortlet
All Implemented Interfaces:
Portlet

public class WSRPPortlet
extends java.lang.Object
implements Portlet

Simple implementation of org.jboss.portal.portlet.Portlet interface

Version:
$Revision: 5440 $
Author:
Boleslaw Dawidowicz

Field Summary
private  java.lang.String id
           
private  PortletInfo info
           
 
Constructor Summary
WSRPPortlet()
           
WSRPPortlet(java.lang.String id)
           
WSRPPortlet(java.lang.String id, PortletInfo info)
           
 
Method Summary
 PortletContext getContext()
          Portlet interface implemented methods
 PortletInfo getInfo()
          Return the portlet info.
 WSRPPortletInfo getWSRPInfo()
           
 boolean isRemote()
          Determines whether the described portlet is remote or not.
 void setId(java.lang.String id)
           
 void setInfo(PortletInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private java.lang.String id

info

private PortletInfo info
Constructor Detail

WSRPPortlet

public WSRPPortlet()

WSRPPortlet

public WSRPPortlet(java.lang.String id)

WSRPPortlet

public WSRPPortlet(java.lang.String id,
                   PortletInfo info)
Method Detail

getContext

public PortletContext getContext()
Portlet interface implemented methods

Specified by:
getContext in interface Portlet
Returns:
the portlet context

getInfo

public PortletInfo getInfo()
Description copied from interface: Portlet
Return the portlet info.

Specified by:
getInfo in interface Portlet
Returns:
the portlet info

isRemote

public boolean isRemote()
Description copied from interface: Portlet
Determines whether the described portlet is remote or not.

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

setId

public void setId(java.lang.String id)

setInfo

public void setInfo(PortletInfo info)

getWSRPInfo

public WSRPPortletInfo getWSRPInfo()