Merge pull request #431 from mulesoft/MULE-7384

MULE-7384 - fixing spring registry lookupObject for lilfecycle to only r...
(cherry picked from commit 9c5b9e0e910dd9b2858c370619b27d5ffdd5e17f)