split out processAutowiring publically.