use of com.navercorp.pinpoint.collector.manage.CollectorManager in project pinpoint by naver.
the class JMXCollectorManager method setUp.
@PostConstruct
public void setUp() {
logger.info("PinpointCollectorManager initialization started.");
for (CollectorManager collectorManager : jmxCollectorManagerList.getSupportList()) {
try {
pinpointMBeanServer.registerMBean(collectorManager);
} catch (Exception e) {
logger.warn("Failed to register {} MBean.", collectorManager, e);
}
}
logger.info("PinpointCollectorManager initialization completed.");
}
use of com.navercorp.pinpoint.collector.manage.CollectorManager in project pinpoint by naver.
the class JMXCollectorManager method tearDown.
@PreDestroy
public void tearDown() {
logger.info("PinpointCollectorManager finalization started.");
for (CollectorManager collectorManager : jmxCollectorManagerList.getSupportList()) {
try {
pinpointMBeanServer.unregisterMBean(collectorManager);
} catch (Exception e) {
logger.warn("Failed to unregister {} MBean.", collectorManager, e);
}
}
logger.info("PinpointCollectorManager finalization completed.");
}
Aggregations