@Override
public void contextInitialized(ServletContextEvent sce) {
try {
ProcessToolRegistryImpl toolRegistry = new ProcessToolRegistryImpl();
toolRegistry.commitModelExtensions();
toolRegistry.setBpmDefinitionLanguage("bpmn20");
toolRegistry.setProcessToolContextFactory(new ActivitiContextFactoryImpl(toolRegistry));
sce.getServletContext().setAttribute(ProcessToolRegistry.class.getName(), toolRegistry);
RegistryHolder.setRegistry(toolRegistry);