RE: [Asterisk-java-users] Timing issue with ResourceBundleMappingStrategy
Brought to you by:
srt
From: Tony M. <to...@am...> - 2006-03-04 13:23:19
|
Stefan, I got my earlier versions of asterisk-java from sourceforge CVS. Is the = new repository going to be the subversion reucon site? Tony -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Saturday, March 04, 2006 1:40 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Timing issue with ResourceBundleMappingStrategy 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=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |