All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.weakref.jmx.testing.TestingMBeanModule Maven / Gradle / Ivy

There is a newer version: 1.26
Show newest version
package org.weakref.jmx.testing;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;
import org.weakref.jmx.guice.MBeanModule;

import javax.management.MBeanServer;

public class TestingMBeanModule
    extends AbstractModule
{
    @Override
    protected void configure()
    {
        install(new MBeanModule());
        bind(MBeanServer.class).to(TestingMBeanServer.class).in(Scopes.SINGLETON);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy