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

InstanceContext - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.spi
Interface InstanceContext

All Known Implementing Classes:
InstanceContextImpl, InstanceContextSupport, PortletController.InstanceContextImpl

public interface InstanceContext


Method Summary
 AccessMode getAccessMode()
          Return the access mode to this portlet instance.
 java.lang.String getId()
          Return an id that can differenciate instances.
 void portletCloned(byte[] state)
          The portlet is cloned and the state is managed by the consumer.
 void portletCloned(java.lang.String cloneId)
          The portlet is cloned and the state is managed by the producer
 

Method Detail

getId

public java.lang.String getId()
Return an id that can differenciate instances.

Returns:
the instance id

portletCloned

public void portletCloned(java.lang.String cloneId)
The portlet is cloned and the state is managed by the producer

Parameters:
cloneId - the portlet id of the clone

portletCloned

public void portletCloned(byte[] state)
The portlet is cloned and the state is managed by the consumer.

Parameters:
state - the opaque state

getAccessMode

public AccessMode getAccessMode()
Return the access mode to this portlet instance.

Returns:
the access mode