cancel
Showing results for 
Search instead for 
Did you mean: 

how to use spring bean in TaskListener?

qinjian
Champ in-the-making
Champ in-the-making
except new ClassPathXmlApplicationContext("classpath:applicationContext.xml").getBean(beanId),
because this way is so slow
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

One good example:
org.activiti.spring.test.taskListener.TaskListenerSpringTest

in activiti sources.

Regards
Martin

qinjian
Champ in-the-making
Champ in-the-making
why I haven't this class "org.activiti.spring.test.taskListener.TaskListenerSpringTest" in activiti sources.
PS.my version is activiti-5.16.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
use git hub
https://github.com/Activiti/Activiti.git

Regards
Martin