Is there a way to specify for prototype the maximum number of instances that can be there for a bean factory?
For ex. if my application demands that a particular class can be instantiated 3 times and after that the last instance itself should be returned, how do I achieve this through Application context?


Reply With Quote