It might be interesting to create a more general abstraction so that BeanDeploymentModule is not tied to EE but fits other modular environments as well (jboss-modules, OSGi, etc.). This should be probably done as a part of WELD-1942.