Use the correct bean in micro-deployment