ch using
either annotations or XML.
Randy
> From: Martin Gainty <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Tue, 15 Apr 2008 17:16:03 -0400
> To: Struts Users Mailing List
> Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
>
> Ye
uot;Struts Users Mailing List"
Sent: Tuesday, April 15, 2008 9:51 AM
Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
> Just about every single S2 action I have ever created uses Spring to
inject
> a service object of some sort into the action. I use Spring for
> transac
08 21:50:15 -0400
> To: Struts Users Mailing List
> Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
>
> Could you provide a scenario where one bean is injected into another?
>
> Thanks
> M-
> - Original Message -
> From: "Randy Burgess&
t; > Date: Tue, 15 Apr 2008 01:12:49 +1000
>
> > To: Struts Users Mailing List
> > Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
>
>
> >
> > To clarify, interceptors aren't technically singletons as each
> > instance in an interceptor st
Could you provide a scenario where one bean is injected into another?
Thanks
M-
- Original Message -
From: "Randy Burgess" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, April 14, 2008 3:55 PM
Subject: Re: [S2] Spring: Interceptors, prototyp
.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Don Brown <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Tue, 15 Apr 2008 01:12:49 +1000
> To: Struts Users Mailing List
> Subject: Re: [S2] Spring: Interceptors, prototype
endency Injection you will
need an exact match on name, or class-type or constructor
HTH
Martin
- Original Message -
From: "GF" <[EMAIL PROTECTED]>
To: "Struts Users ML"
Sent: Monday, April 14, 2008 8:51 AM
Subject: [S2] Spring: Interceptors, prototype or singleton?
: Struts Users Mailing List
Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
To clarify, interceptors aren't technically singletons as each
instance in an interceptor stack gets its own interceptor instance.
However, for all requests using that stack, the same interceptor will
be
eply-To: Struts Users Mailing List
> > Date: Mon, 14 Apr 2008 14:51:25 +0200
> > To: Struts Users ML
> > Subject: [S2] Spring: Interceptors, prototype or singleton?
>
>
> >
> > In a guide I found on the web, the interceptor was defined as singleton in
> >
Struts Users Mailing List
> Date: Mon, 14 Apr 2008 14:51:25 +0200
> To: Struts Users ML
> Subject: [S2] Spring: Interceptors, prototype or singleton?
>
> In a guide I found on the web, the interceptor was defined as singleton in
> the Spring's ApplicationContext.
>
In a guide I found on the web, the interceptor was defined as singleton in
the Spring's ApplicationContext.
If I need to use "changeable" object properties, I need to have it as
Prototype, otherwise different requests will result in a object property
overwriting.
Is there any issues about defining
11 matches
Mail list logo