@Override
public void setSpanStore(SpanStore spanStore) {
Object originalListener = cache.invokeMethod(jettyHttpExchange.getClass(), "getEventListener", new Class<?>[] {}, jettyHttpExchange, new Object[] {}, null);
JettyEventListenerProxy listenerProxy = new JettyEventListenerProxy(originalListener, spanStore);
Object proxyObject = runtimeLinker.createProxy(JettyEventListenerProxy.class, listenerProxy, jettyHttpExchange.getClass().getClassLoader());
Class<?> eventListenerClass = proxyObject.getClass().getSuperclass().getInterfaces()[0];
cache.invokeMethod(jettyHttpExchange.getClass(), "setEventListener", new Class<?>[] { eventListenerClass }, jettyHttpExchange, new Object[] { proxyObject }, null);
}