The annotation scanning is tied to the webappcontext.

However if you have a specific use, you could probably adapt the code
from the annotation configuration to work on a servletcontext.

Better yet - for embedded usage, don't use annotations!

cheers
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to