I am implementing a bean factory that is not a singleton.
There are two places where I can specify this property :
1) in the <bean singleton="true|false|"> tag
2) in the boolean FactoryBean.isSingleton()
The doco states :
The singleton status of the FactoryBean itself will
* generally be provided by the owning BeanFactory.
Please explain how this works.
If I implement isSingleton = false, then someone configures <bean ...
singleton="true" > what will happen ?
Thanks,
Cameron
--
Any damn fool can write code that a computer can understand...
The trick is to write code that humans can understand.
[Martin Fowler http://www.martinfowler.com/distributedComputing/refactoring.pdf]
|