Consistent use of varargs; deprecated setAnnotatedClass method

Issue: SPR-10421
Added javadoc note on the use of CachingConnectionFactory

Issue: SPR-10581
(cherry picked from commit 2626a35)
Further 3.2.4 changelog entries