struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: implementaiton advise on custom TextProvider
Date Mon, 15 Oct 2012 15:54:47 GMT
With the Spring Plugin, Spring becomes the framework's internal DI.
  (*Chris*)

On Mon, Oct 15, 2012 at 8:43 AM, Davis, Chad <Chad.Davis@emc.com> wrote:

>
>
> > If you are using the Spring Framework with your App, you should be able
> to
> > define your TextProvider, with all it's dependencies, as a Spring Bean,
> then
> > when you define the <bean> in Struts use the Spring Bean ID instead of
> using
> > the full class name.  Struts will use that Spring Bean in place of
> creating a new
> > one.
> >   (*Chris*)
>
> So, you're saying that I can use the Spring plugin's Spring DI to
> configure framework components?  I was under the impression that I had to
> use the framework's internal DI for such things . . .
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message