org.jboss.portal.portlet.spi
Interface InstanceContext

All Known Implementing Classes:
AbstractInstanceContext, InstanceContextImpl, InstanceContextSupport, TestInstanceContext

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

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

Returns:
the instance id

getAccessMode

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

Returns:
the access mode

onStateEvent

void onStateEvent(StateEvent event)
A state event occured.

Parameters:
event - the event