Hosted doesn't use monitoring. remove the java code.
test plan: since this code wasn't active in hosted anyways, just run through the system related pages ie yourrhn, ssm, etc, and make sure there are no regressions
Verified in webqa.