Code: Select all
[org.jboss.modules] (MSC service thread 1-8) Failed to define class org.primefaces.push.inject.PathParamIntrospector
Caused by: java.lang.ClassNotFoundException: org.atmosphere.inject.PathParamIntrospector
but it seems this class does not exist at all in Atmosphere 2.3.4 / 2.3.5.
Code: Select all
/**
* {@link PathParam} injection support.
*
* @author Jeanfrancois Arcand
*/
@RequestScoped({PathParam.class})
public class PathParamIntrospector extends org.atmosphere.inject.PathParamIntrospector {
@Override
public void introspectField(Class clazz, Field f) {
if (f.isAnnotationPresent(PathParam.class)) {
String name = f.getAnnotation(PathParam.class).value();
if (name.isEmpty()) {
name = f.getName();
}
pathLocal.set(name);
}
}
}