target.set(instance);
return null;
}
};
InterceptorInvocationContext invocationCtx = new InterceptorInvocationContext(chain, constructor.getJavaMember(), parameters, data, model.getMemberInterceptorBindings(getConstructor())) {
@Override
public Object getTarget() {
return target.get();
}
};
// WELD-1742 Associate bean constructor interceptor bindings
invocationCtx.getContextData().put(InterceptorMethodHandler.INTERCEPTOR_BINDINGS_KEY, model.getMemberInterceptorBindings(getConstructor()));
try {
chain.invokeNextInterceptor(invocationCtx);
} catch (RuntimeException e) {
throw e;