@Override
public StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId) {
StateContext stateCtx = StateContext.getStateContext(context);
if (stateCtx.partialStateSaving(context, viewId)) {
if (stateManagementStrategy == null) {
synchronized (this) {
if (stateManagementStrategy == null) {
stateManagementStrategy = new StateManagementStrategyImpl();
}