/** * {@inheritDoc} */ public Object redefineParameterValue(ParameterValue value) { CreationalContext<?> ctx = this.bm.createCreationalContext(this.declaringBean); try { if (value.getPosition() == this.handlerMethod.getHandlerParameter().getPosition()) { return event; } return value.getDefaultValue(ctx); } finally { if (ctx != null) { ctx.release(); } } } }