We have this code that can integrate with underlying VFS:
* http://anonsvn.jboss.org/repos/jbossas/projects/mc-int/trunk/
See its "servlet" module.
There is no explicit docs, but the code, imo, is simple enough to see what you need to use to get access to VFS / DeploymentUnit.
Or shoot any question here, for futher help.