Try to search your question here, if you can't find : Ask Any Question Now ?

how to create prototype bean when it is referred in singleton bean?

HomeCategory: stackoverflowhow to create prototype bean when it is referred in singleton bean?
gaurav asked 1 week ago

Assume we are using spring ro create objects. We have declared class A as singleton and it has reference of B which is in prototype scope. In this case B also act as singleton with A’s object. How to create new B when ever we use A(when calling A).

1 Answers
Best Answer
Matthias answered 1 week ago
Your Answer

20 + 0 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com