Search in sources :

Example 1 with GlobalInterceptorRegistryBinder

use of com.navercorp.pinpoint.profiler.interceptor.registry.GlobalInterceptorRegistryBinder in project pinpoint by naver.

the class JavassistClassTest method newJavassistEngine.

private InstrumentEngine newJavassistEngine() {
    Instrumentation instrumentation = mock(Instrumentation.class);
    ObjectBinderFactory objectBinderFactory = mock(ObjectBinderFactory.class);
    Provider<ApiMetaDataService> apiMetaDataService = Providers.of(mock(ApiMetaDataService.class));
    return new JavassistEngine(instrumentation, objectBinderFactory, new GlobalInterceptorRegistryBinder(), apiMetaDataService, null);
}
Also used : JavassistEngine(com.navercorp.pinpoint.profiler.instrument.JavassistEngine) Instrumentation(java.lang.instrument.Instrumentation) ObjectBinderFactory(com.navercorp.pinpoint.profiler.objectfactory.ObjectBinderFactory) ApiMetaDataService(com.navercorp.pinpoint.profiler.metadata.ApiMetaDataService) GlobalInterceptorRegistryBinder(com.navercorp.pinpoint.profiler.interceptor.registry.GlobalInterceptorRegistryBinder)

Aggregations

JavassistEngine (com.navercorp.pinpoint.profiler.instrument.JavassistEngine)1 GlobalInterceptorRegistryBinder (com.navercorp.pinpoint.profiler.interceptor.registry.GlobalInterceptorRegistryBinder)1 ApiMetaDataService (com.navercorp.pinpoint.profiler.metadata.ApiMetaDataService)1 ObjectBinderFactory (com.navercorp.pinpoint.profiler.objectfactory.ObjectBinderFactory)1 Instrumentation (java.lang.instrument.Instrumentation)1