}
ContextManager contextManager = services.getContextManagementService().getContextManager(contextPartitionName);
if (contextManager == null) {
throw new VariableNotFoundException("Context by name '" + contextPartitionName + "' cannot be found");
}
Map<Integer, ContextPartitionDescriptor> contextPartitions = contextManager.extractPaths(contextPartitionSelector).getContextPartitionInformation();
if (contextPartitions.isEmpty()) {
return Collections.emptyMap();
}
Map<String, List<ContextPartitionVariableState>> statesMap = new HashMap<String, List<ContextPartitionVariableState>>();
for (String variableName : variableNames) {