@@ -0,0 +1,1588 @@
+/*%0A * Copyright 2010-2011 Ning, Inc.%0A *%0A * Ning licenses this file to you under the Apache License, version 2.0%0A * (the %22License%22); you may not use this file except in compliance with the%0A * License.  You may obtain a copy of the License at:%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the%0A * License for the specific language governing permissions and limitations%0A * under the License.%0A */%0A%0Apackage com.ning.metrics.eventtracker;%0A%0Aimport com.google.inject.AbstractModule;%0Aimport org.weakref.jmx.guice.ExportBuilder;%0Aimport org.weakref.jmx.guice.MBeanModule;%0A%0A/**%0A * Expose JMX properties for the eventtracker library.%0A * %3Cp/%3E%0A * To enable them, install this module and configure jmxutils:%0A * install(new MBeanModule());%0A * // MBeanModule expects an MBeanServer to be bound, e.g. make sure to:%0A * binder().bind(MBeanServer.class).toInstance(ManagementFactory.getPlatformMBeanServer());%0A */%0Apublic class CollectorControllerMBeanModule extends AbstractModule%0A%7B%0A    /**%0A     * Configures a %7B@link com.google.inject.Binder%7D via the exposed methods.%0A     */%0A    @Override%0A    protected void configure()%0A    %7B%0A        ExportBuilder builder = MBeanModule.newExporter(binder());%0A%0A        builder.export(ScribeSender.class).as(%22eventtracker:name=ScribeSender%22);%0A        builder.export(CollectorController.class).as(%22eventtracker:name=CollectorController%22);%0A    %7D%0A%7D%0A

add missing CollectorControllerMBeanModule