当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
InstanceContextSupport - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.support.spi
Class InstanceContextSupport
java.lang.Object
org.jboss.portal.portlet.support.spi.InstanceContextSupport
- All Implemented Interfaces:
- InstanceContext
- Direct Known Subclasses:
- BasicInstanceContext
- public class InstanceContextSupport
- extends java.lang.Object
- implements InstanceContext
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceContextSupport
public InstanceContextSupport()
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
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
onStateEvent
public void onStateEvent(StateEvent event)
- Description copied from interface:
InstanceContext
- A state event occured.
- Specified by:
onStateEvent
in interface InstanceContext
- Parameters:
event
- the event