dropwizard/dropwizard — pull request #548 by gdusbabek (2014-04-21 15:15:51+00:00)
Title: Support bring-your-own MetricsRegistry in Bootstrap.

Bootstrap takes the newly constructed registry and registers a few JVM metrics. The way this is done makes it difficult to bring your own registry (say, if you are embedding a DW app within another app).

This PR uses the registry getter in the constructor to add those JVM metrics.