"dimitris(a)jboss.org" wrote :
| Ales, I think the whole point is that by default the server should be fast for the
majority of deployments. If you need to deploy extra descriptors and stuff, the game is
lost.
|
Sure, but how else are you gonna know, if we need to scan or not?
Or what/where to scan?
e.g. afaik EJB3 deployments don't need any descriptors any more
It's the job of container to pick up EJB3 @annotations, hence you need to scan it
all.
Unless user provides more detailed info about what/where to scan.
e.g. only scan my-ejbs.jar's org.acme.foo.ejbs package
But as you can see, I added ListDeploymentUnitFilter to scaning deployer
(FilteredAnnotationEnvironmentDeployer),
so you're free to add any constraints to that chain. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192702#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...