Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customized binding of JmxReporter #115

Merged
merged 1 commit into from
Nov 18, 2011

Conversation

jebl01
Copy link
Contributor

@jebl01 jebl01 commented Nov 18, 2011

When deploying/hot deploying servlets in Tomcat, its important that mbeans of an earlier version of the service gets unregistered when the servlet's context is destroyed. To be able to do this, there needs to be a way of controlling the lifespan of the started JmxReporter (when using Guice).

By allowing a custom binding of the JmxReporter, it will be possible to shut it down when the context is destroyed.

codahale added a commit that referenced this pull request Nov 18, 2011
@codahale codahale merged commit b55c905 into dropwizard:development Nov 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants