}
@Override
public void registerGlobalDictionaries(InputStream is) {
if (is != null) {
ProcessDictionaries dictionaries = (ProcessDictionaries) DictionaryLoader.getInstance().unmarshall(is);
String processBpmKey = dictionaries.getProcessBpmDefinitionKey();
if (Strings.hasText(processBpmKey)) {
logger.warning("Global process dictionary should not be defined for a specific process: "
+ dictionaries.getProcessBpmDefinitionKey());
}
Session session = sessionFactory.openSession();
try {
Transaction tx = session.beginTransaction();
saveDictionaryInternal(session, null, dictionaries);