}
@Override
public void createContext(String contextId) {
LOGGER.debug("Creating context %s", contextId);
ContextConfiguration contextConfiguration =
new ContextConfiguration(new ContextId(contextId).toMetaData(), null);
try {
getConfigPersistenceService().persist(contextConfiguration);
} catch (InvalidConfigurationException e) {
LOGGER.error("Error storing context " + contextId + ": Invalid configuration", e);
} catch (PersistenceException e) {