Results 1 to 2 of 2

Thread: Number of instances

  1. #1

    Lightbulb Number of instances

    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?

  2. #2
    Join Date
    Oct 2009
    Posts
    7

    Default

    Not that I am aware off
    Vineeth Varghese
    TenXperts Technologies

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •