Search in sources :

Example 1 with ServerMetaDataRegistryServiceProvider

use of com.navercorp.pinpoint.profiler.context.provider.ServerMetaDataRegistryServiceProvider in project pinpoint by naver.

the class AgentInfoSenderTest method init.

@Before
public void init() {
    agentInformation = createAgentInformation();
    serverMetaDataRegistryService = new ServerMetaDataRegistryServiceProvider().get();
    jvmInformation = new JvmInformationProvider().get();
    agentInfoFactory = new AgentInfoFactory(agentInformation, serverMetaDataRegistryService, jvmInformation);
    resultResponseMessageConverter = new ThriftMessageToResultConverter();
}
Also used : ThriftMessageToResultConverter(com.navercorp.pinpoint.profiler.context.thrift.ThriftMessageToResultConverter) JvmInformationProvider(com.navercorp.pinpoint.profiler.context.provider.JvmInformationProvider) ServerMetaDataRegistryServiceProvider(com.navercorp.pinpoint.profiler.context.provider.ServerMetaDataRegistryServiceProvider) AgentInfoFactory(com.navercorp.pinpoint.profiler.util.AgentInfoFactory) Before(org.junit.Before)

Aggregations

JvmInformationProvider (com.navercorp.pinpoint.profiler.context.provider.JvmInformationProvider)1 ServerMetaDataRegistryServiceProvider (com.navercorp.pinpoint.profiler.context.provider.ServerMetaDataRegistryServiceProvider)1 ThriftMessageToResultConverter (com.navercorp.pinpoint.profiler.context.thrift.ThriftMessageToResultConverter)1 AgentInfoFactory (com.navercorp.pinpoint.profiler.util.AgentInfoFactory)1 Before (org.junit.Before)1