Search in sources :

Example 1 with ConfigurationParser

use of com.googlecode.jmxtrans.ConfigurationParser in project jmxtrans by jmxtrans.

the class GraphiteWriterFactoryIT method createConfigurationParser.

@Before
public void createConfigurationParser() {
    JmxTransConfiguration configuration = new JmxTransConfiguration();
    Injector injector = JmxTransModule.createInjector(configuration);
    configurationParser = injector.getInstance(ConfigurationParser.class);
}
Also used : JmxTransConfiguration(com.googlecode.jmxtrans.cli.JmxTransConfiguration) Injector(com.google.inject.Injector) ConfigurationParser(com.googlecode.jmxtrans.ConfigurationParser) Before(org.junit.Before)

Aggregations

Injector (com.google.inject.Injector)1 ConfigurationParser (com.googlecode.jmxtrans.ConfigurationParser)1 JmxTransConfiguration (com.googlecode.jmxtrans.cli.JmxTransConfiguration)1 Before (org.junit.Before)1