How to use Apache commons connection pooling to create multiple instances of a singleton class in java?

后端 未结 0 1613
无人共我
无人共我 2021-02-11 17:52

I am trying to use GenericObjectPool\'s borrowObjects method to obtain 5 instances of the class Hello (which is Singleton). But it is returning the same instance again and again

相关标签:
回答
  • 消灭零回复
提交回复
热议问题