Package org.gatein.pc.portlet.impl.state
Class StateManagementPolicyService
java.lang.Object
org.gatein.pc.portlet.impl.state.StateManagementPolicyService
- All Implemented Interfaces:
StateManagementPolicy
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanReturns true if the state must be persisted locally.voidsetPersistLocally(boolean persistLocally)
-
Constructor Details
-
StateManagementPolicyService
public StateManagementPolicyService() -
StateManagementPolicyService
public StateManagementPolicyService(boolean persistLocally)
-
-
Method Details
-
getPersistLocally
public boolean getPersistLocally() -
setPersistLocally
public void setPersistLocally(boolean persistLocally) -
persistLocally
public boolean persistLocally()Description copied from interface:StateManagementPolicyReturns true if the state must be persisted locally.- Specified by:
persistLocallyin interfaceStateManagementPolicy- Returns:
- true if state must be persisted locally
-