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

InstanceContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.spi
Interface InstanceContext

All Known Implementing Classes:
ConsumerPortletInvoker.StatefulInstanceContextImpl, FederatedPortletInvokerService.FederatedInstanceContext, InstanceContextImpl, InstanceContextImpl, InstanceContextSupport, PortletController.InstanceContextImpl

public interface InstanceContext

Version:
$Revision: 5448 $
Author:
Julien Viet

Method Summary
 AccessMode getAccessMode()
          Return the access mode to this portlet instance.
 java.lang.String getId()
          Return an id that can differenciate instances.
 void onStateEvent(StateEvent event)
          A state event occured.
 

Method Detail

getId

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

Returns:
the instance id

getAccessMode

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

Returns:
the access mode

onStateEvent

public void onStateEvent(StateEvent event)
A state event occured.

Parameters:
event - the event