Search in sources :

Example 1 with ProtocolCollectorRegistryImpl

use of org.opennms.nrtg.nrtcollector.internal.ProtocolCollectorRegistryImpl in project opennms by OpenNMS.

the class AppConfig method protocolCollectorRegistry.

@Bean(name = "protocolCollectorRegistry")
public ProtocolCollectorRegistry protocolCollectorRegistry() {
    ProtocolCollectorRegistryImpl registry = new ProtocolCollectorRegistryImpl();
    registry.getProtocolCollectors().add(snmpCollector());
    return registry;
}
Also used : ProtocolCollectorRegistryImpl(org.opennms.nrtg.nrtcollector.internal.ProtocolCollectorRegistryImpl) Bean(org.springframework.context.annotation.Bean)

Aggregations

ProtocolCollectorRegistryImpl (org.opennms.nrtg.nrtcollector.internal.ProtocolCollectorRegistryImpl)1 Bean (org.springframework.context.annotation.Bean)1