org.jboss.portal.core.impl.portlet.state
Class StateManagementPolicyImpl

java.lang.Object
  extended by org.jboss.portal.core.impl.portlet.state.StateManagementPolicyImpl
All Implemented Interfaces:
StateManagementPolicy

public class StateManagementPolicyImpl
extends java.lang.Object
implements StateManagementPolicy

An implementation that rely on thread local context to make up its decision. State is locally persisted only for the local portal or for wsrp invocations in the context of a registration.

Version:
$Revision: 8786 $
Author:
Julien Viet

Constructor Summary
StateManagementPolicyImpl()
           
 
Method Summary
 boolean persistLocally()
          Returns true if the state must be persisted locally.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateManagementPolicyImpl

public StateManagementPolicyImpl()
Method Detail

persistLocally

public boolean persistLocally()
Description copied from interface: StateManagementPolicy
Returns true if the state must be persisted locally.

Specified by:
persistLocally in interface StateManagementPolicy
Returns:
true if state must be persisted locally