use of com.navercorp.pinpoint.profiler.plugin.PluginContextLoadResult in project pinpoint by naver.
the class ApplicationServerTypeProvider method get.
@Override
public ServiceType get() {
final ServiceType applicationServiceType = getApplicationServiceType();
logger.info("default ApplicationServerType={}", applicationServiceType);
PluginContextLoadResult pluginContextLoadResult = this.pluginContextLoadResultProvider.get();
List<ApplicationTypeDetector> applicationTypeDetectorList = pluginContextLoadResult.getApplicationTypeDetectorList();
ApplicationServerTypeResolver applicationServerTypeResolver = new ApplicationServerTypeResolver(applicationTypeDetectorList, applicationServiceType, profilerConfig.getApplicationTypeDetectOrder());
ServiceType resolve = applicationServerTypeResolver.resolve();
logger.info("resolved ApplicationServerType={}", resolve);
return resolve;
}
use of com.navercorp.pinpoint.profiler.plugin.PluginContextLoadResult in project pinpoint by naver.
the class JdbcUrlParsingServiceProvider method get.
@Override
public JdbcUrlParsingService get() {
PluginContextLoadResult pluginContextLoadResult = this.pluginContextLoadResultProvider.get();
List<JdbcUrlParserV2> jdbcUrlParserList = pluginContextLoadResult.getJdbcUrlParserList();
return new DefaultJdbcUrlParsingService(jdbcUrlParserList);
}
Aggregations