I've written a custom mbean that aggregates data from all the RequestHandler mbeans in a jvm to provide aggregate statistics for easier monitoring and currently I'm ensuring it gets ran by actually extending RequestHandlerBase and including the class as a request handler in solrconfig.xml. I don't think this is the ideal way of getting this code to run but as a quick hack it got the job done. If I wanted to ensure this class ran / register the mbean at a more appropriate place, earlier on in solr's initialization, where would that be?
Thanks, Greg