AnsweredAssumed Answered

Changes from 5.0rc1 to 5.0

Question asked by matias on Dec 15, 2010
Latest reply on Mar 7, 2011 by ronald.van.kuijk
I was using in 5.0rc1 this code to provide activiti with my implementation of the identity session factory…


ProcessEngineConfiguration conf = new ProcessEngineConfiguration();
Map<Class<?>, SessionFactory> sessionFactories = conf.getSessionFactories();
sessionFactories.put(IdentitySession.class, new MyIdentitySessionFactory());
conf.set…
engine = conf.buildProcessEngine();
return engine;

But I updated to 5.0 and it doesn't work anymore. In 5.0 ProcessEngineConfiguration has no getSessionFactories() method.

How should I implement this functionality?

Thanks!

Outcomes