Hi, you can use several CDI extension to do it.
OpenEJB provides such a mecanism (extended for EJB, Webservices and so on) with a META-INF/scan.xml file specifying package/classes to scan. - Romain 2012/7/2 Adrian Gonzalez <[email protected]> > Hello, > > I'm new to OWB, is there a functionnality to include / exclude classes > from bean component scanning ? > > Something like Weld include/exclude in beans.xml ( > http://docs.jboss.org/weld/reference/1.1.5.Final/en-US/html/configure.html#d0e5769 > ) ? > > <weld:scan> > <weld:include name="com.sample.charge.service.ChargeClienteleManager" /> > <weld:include name="com.sample.charge.service.ContratManager"/> > </weld:scan> > > Thanks > > P.S. I think Davis Jencks already talked about this ( > http://comments.gmane.org/gmane.comp.java.openwebbeans.devel/1087), but > donno if something changed since > >
