The attached patch adds several things:
- ability to specify the hot deployment directory as a servlet context init parameter (seam.HOT_DEPLOY_DIRECTORY)
- ability to access the used RedeployableStrategy from the application context (to get the classloader, etc)
- an additional descriptor (hot-components.xml) that can be used in the hot deploy directory
I use this to boot Seam from an embeddable webserver with a custom parent classloader and to start Embedded JBoss with the same child classloader that Seam is using. I effectively get complete hot redeployment of all Seam components, EJBs, and persistence units.