}
return clc;
}
public SingletonStoreConfig parseSingletonStoreConfig(Element element) {
SingletonStoreConfig ssc = new SingletonStoreConfig();
if (element == null) {
ssc.setSingletonStoreEnabled(false);
} else {
boolean singletonStoreEnabled = getBoolean(getAttributeValue(element, "enabled"));
ssc.setSingletonStoreEnabled(singletonStoreEnabled);
String tmp = getAttributeValue(element, "pushStateWhenCoordinator");
if (existsAttribute(tmp)) ssc.setPushStateWhenCoordinator(getBoolean(tmp));
tmp = getAttributeValue(element, "pushStateTimeout");
if (existsAttribute(tmp)) ssc.setPushStateTimeout(getLong(tmp));
}
return ssc;
}