当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
SimpleInstanceContext - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.core.state
Class SimpleInstanceContext
java.lang.Object
org.jboss.portal.portlet.support.spi.InstanceContextSupport
org.jboss.portal.test.core.state.SimpleInstanceContext
- All Implemented Interfaces:
- InstanceContext
- public class SimpleInstanceContext
- extends InstanceContextSupport
Method Summary |
AccessMode |
getAccessMode()
Return the access mode to this portlet instance. |
java.lang.String |
getCloneId()
|
java.lang.String |
getId()
Return an id that can differenciate instances. |
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 |
SimpleInstanceContext
public SimpleInstanceContext(java.lang.String id,
AccessMode accessMode)
getId
public java.lang.String getId()
- Description copied from interface:
InstanceContext
- Return an id that can differenciate instances.
- Specified by:
getId
in interface InstanceContext
- Overrides:
getId
in class InstanceContextSupport
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
- Overrides:
portletCloned
in class InstanceContextSupport
getAccessMode
public AccessMode getAccessMode()
- Description copied from interface:
InstanceContext
- Return the access mode to this portlet instance.
- Specified by:
getAccessMode
in interface InstanceContext
- Overrides:
getAccessMode
in class InstanceContextSupport
getCloneId
public java.lang.String getCloneId()