Re: [Asterisk-java-users] Timing issue with ResourceBundleMappingStrategy
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-03-04 12:40:25
|
0.3 is currently available only from svn at http://svn.reucon.net/repos/asterisk-java/trunk you are right that the synchronized block might be a small performance hit but I dont think it has any real world impact as it is (a) only passed once per AGIRequest and (b) is really small once mappings has been initialized (only a check for null). > Unless you are planning on allowing the reloading of a new mapping > after the first one is loaded. Furthermore, as there is a constructor > that allows the specification of the bundle name, I don't think there > is really a need for setResourceBundleName(). > Since I don't use the setResourceBundleName() myself, I am biased ;) I am using setResourceBundleName() with setter based dependency injection using the spring framework. In this case spring creates the instance using its default constructor and later calls its setters for each specified property. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=C3=B6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |