{quote} The fact that we can't switch to the container managed ValidatorFactory/Validator {quote}
Why can't you use the container factory? See my comment above, you could retrieve it via JNDI.
{quote} the suggested workaround won't work for us {quote}
Why shouldn't it work? You surely could bootstrap a validator factory with a custom provider resolver as shown above and expose this as Spring bean.
I think both options - a) use the container VF via JNDI, b) bootstrap a VF yourself with a custom resolver - should be doable, or am I missing something?
Note that this is not to say that an updated 1.0.1 API would be the cleanest solution, but AFAICS you could leverage these options instantly without waiting for an updated API JAR.
|