How to use @PushEndpoint from jar-file
Posted: 30 Oct 2014, 11:55
Hi,
I'm using Primefaces 5.1 and Atmosphere 2.2.3 on Tomcat 8.0.14 and Primefaces Push is working great. But I want to move some parts of the application in external projects, so the classes will be in jar-Files. Sadly Primefaces Push / Atmosphere is not detecting any class anotated with @PushEndpoint in jar files. Is there any hidden configuration option to scan class files? Can I manually define endpoint classes? Setting the init-param org.atmosphere.cpr.packages makes no difference.
Does anybody got endpoint classes from jar files working?
I'm using Primefaces 5.1 and Atmosphere 2.2.3 on Tomcat 8.0.14 and Primefaces Push is working great. But I want to move some parts of the application in external projects, so the classes will be in jar-Files. Sadly Primefaces Push / Atmosphere is not detecting any class anotated with @PushEndpoint in jar files. Is there any hidden configuration option to scan class files? Can I manually define endpoint classes? Setting the init-param org.atmosphere.cpr.packages makes no difference.
Does anybody got endpoint classes from jar files working?