geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viola lu <viola...@gmail.com>
Subject javax.faces.ManagedBean annotation scan problem
Date Tue, 02 Aug 2011 10:14:49 GMT
Hi, Dev

 When running javaee6-testsuite\el2.2-test , if jsf java classes is packaged
in WEB-INF/lib,  annotationClassSetMap(MyFacesModuleBuilderExtension.java)
managebean set is empty as below, and no managed bean is loaded

  annotationClassSetMap.put(javax.faces.bean.ManagedBean.class, new
HashSet<Class<?>>(bundleAnnotationFinder.findAnnotatedClasses(javax.faces.bean.ManagedBean.class)));


If  jsf java classes is put under WEB-INF/classes, all managed beans are put
in map.

I checked the code, jar files is scanned, but confused managebean annotation
is not put in annotations.

Can somebody give some hints?
-- 
viola

Apache Geronimo

Mime
View raw message