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

InstanceContextSupport - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.support.spi
Class InstanceContextSupport

java.lang.Object
  extended byorg.jboss.portal.portlet.support.spi.InstanceContextSupport
All Implemented Interfaces:
InstanceContext
Direct Known Subclasses:
SimpleInstanceContext

public class InstanceContextSupport
extends java.lang.Object
implements InstanceContext


Constructor Summary
InstanceContextSupport()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceContextSupport

public InstanceContextSupport()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: InstanceContext
Return an id that can differenciate instances.

Specified by:
getId in interface InstanceContext
Returns:
the instance id

portletCloned

public void portletCloned(java.lang.String cloneId)
Description copied from interface: InstanceContext
The portlet is cloned and the state is managed by the producer

Specified by:
portletCloned in interface InstanceContext
Parameters:
cloneId - the portlet id of the clone

portletCloned

public void portletCloned(byte[] state)
Description copied from interface: InstanceContext
The portlet is cloned and the state is managed by the consumer.

Specified by:
portletCloned in interface InstanceContext
Parameters:
state - the opaque state

getAccessMode

public AccessMode getAccessMode()
Description copied from interface: InstanceContext
Return the access mode to this portlet instance.

Specified by:
getAccessMode in interface InstanceContext
Returns:
the access mode