VariableReader reader = services.getVariableService().getReader(variableName, entry.getKey());
Object value = reader.getValue();
if (value != null && reader.getVariableMetaData().getEventType() != null) {
value = ((EventBean) value).getUnderlying();
}
states.add(new ContextPartitionVariableState(entry.getKey(), entry.getValue().getIdentifier(), value));
}
}
return statesMap;
}