vert-x/vert.x — pull request #549 by dsklyut (2013-04-01 21:57:42+00:00)
Title: Extended VerticleFactory to accept DeploymentInfo

While working on support for spring framework (https://github.com/dsklyut/mod-lang-spring), I ended up needing more info about current deployment. Just Verticle main was not enough. To provide support for shared parent context and support of minimizing number of ApplicationContext instances created in case of "instances > 1", Deployment object provided some help.

This is a proposal to extend VerticleFactory to accept an immutable wrapper over Deployment object to give this extra info to VerticleFactory, i.e. number of instances, parent mod name, ability to determine Root mod, etc.