dimsuz
07/21/2017, 5:35 PMsingleton binding to the object Session which can return a currently logged in userId. Now I want to create a binding which would return me a new UserProfile(userId) and it would return a new one only for different userIds. Which binding function should I use for this?
I suspect I need to create a Scope and use a scopedSingleton, am I right? (if yes, I'll have a follow up question)