|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-18 15:47:53
|
+1=0D=0A=0D=0AJust to see how handle the Exceptions. No Spring specific E= xception has to be waited for. The called method can have or not a throws= statement and it can always throw a RuntimeException. The factory will h= ave to catch any Exception and throwing itself a ServletException? If an = initialization method throws any kind of Exception, it's allways fatal.=0D= =0A=0D=0ASo we can gain a new design step.=0D=0A=0D=0AJean-Pierre=0D=0A--= -------- Initial Header -----------=0D=0A=0D=0AFrom : springframewor= k-d...@li...=0D=0ATo : "j=C3=BCrgen h= =C3=B6ller [werk3AT]" <jue...@we...>=0D=0ACc : sp= rin...@li...=0D=0ADate : Fri, 18 Ju= l 2003 09:55:43 -0400=0D=0ASubject : Re: [Springframework-developer] Fw: = [springframework - Open Discussion] RE: BeanFactory=3D>Generic Container=0D= =0A=0D=0AJuergen,=0D=0A=0D=0A> I consider that an interesting idea: As an= alternative to InitializingBean,=0D=0A> we could indeed add such an "ini= tializing_method" attribute, specifying a=0D=0A> no-arg init method on th= e object. That would allow for initialization that=0D=0A> depends on mult= iple properties without implementing any Spring-specific=0D=0A> interface= . What you think about this?=0D=0A=0D=0A+1=0D=0A=0D=0AI see no disadvanta= ges, and it would be nice to not having to depend on any=0D=0ASpring inte= rfaces at all.=0D=0A=0D=0AThomas=0D=0A=0D=0A=0D=0A-----------------------= --------------------------------=0D=0AThis SF.net email is sponsored by: = VM Ware=0D=0AWith VMware you can run multiple operating systems on a sing= le machine.=0D=0AWITHOUT REBOOTING! Mix Linux / Windows / Novell virtual = machines at the=0D=0Asame time. Free trial click here: http://www.vmware.= com/wl/offer/345/0=0D=0A_______________________________________________=0D= =0ASpringframework-developer mailing list=0D=0ASpringframework-developer@= lists.sourceforge.net=0D=0Ahttps://lists.sourceforge.net/lists/listinfo/s= pringframework-developer=0D=0A=0A=0A********** L'ADSL A 20 EUR/MOIS******= ****=0ATiscali propose l'ADSL le moins cher du march=E9 : 20 EUR/mois et = le modem ADSL offert ! =0APour profiter de cette offre exceptionnelle, cl= iquez ici : http://register.tiscali.fr/adsl/=0AOffre soumise =E0 conditio= ns.=0A |