[EMAIL PROTECTED] said the following on 10/7/2006 12:33 AM:
Hey guys, i'm having a little trouble with a singleton I'm trying to use. I may not understand how this is intended to work, so I wanted to see if anyone had any input.haven't tried this or many I'm not understanding how the bug works exactly... <beans> <bean id="ArticleService" class="model.services.ArticleService"> <property name="ArticleGateway"><ref bean="ArticleGateway" /></property> <property name="LocationGateway"><ref bean="LocationGateway" /></property> </beans> <bean id="LocationService" class="model.services.LocationService"> <property name="LocationGateway"><ref bean="LocationGateway" /></property> </beans> <bean id="LocationGateway" class="model.gateways.LocationGateway"> <property name="TimedCache"><bean id="TimedCacheForLocationGateway" class="model.utils.TimedCache" /></property> </beans> <bean id="ArticleGateway" class="model.gateways.ArticleGateway"> <property name="TimedCache"><bean id="TimedCacheForArticleGateway" class="model.utils.TimedCache" /></property> </beans> </beans> -- Peter J. Farrell - Maestro Publishing http://blog.maestropublishing.com -- Co-Host of the ColdFusion Weekly Podcast http://www.coldfusionweekly.com |
- [coldspring-dev] non-singleton doesn't seem to be working... andrew
- [coldspring-dev] non-singleton doesn't seem to be wo... Sean Corfield
- [coldspring-dev] non-singleton doesn't seem to be wo... Chris Scott
- [coldspring-dev] non-singleton doesn't seem to be wo... Peter J. Farrell
- [coldspring-dev] non-singleton doesn't seem to be wo... andrew
- [coldspring-dev] non-singleton doesn't seem to be wo... Chris Scott
- [coldspring-dev] non-singleton doesn't seem to be wo... andrew
- [coldspring-dev] non-singleton doesn't seem to be wo... Peter J. Farrell
