Or maybe, make the code generic, trying both annotations using reflection?
And maybe also @Resource, @Autowired, and Guice's @Inject?



On Fri, May 8, 2009 at 2:12 PM, James Carman
<[email protected]>wrote:

> That sounds familiar.
>
> On Fri, May 8, 2009 at 12:37 PM, Igor Vaynberg <[email protected]>
> wrote:
> > not really, we just deprecate @SpringBean and use @Inject instead.
> >
> > -igor
> >
> > On Fri, May 8, 2009 at 9:23 AM, Martijn Dashorst
> > <[email protected]> wrote:
> >> As most of us probably have noticed, Guice and Spring are sitting in a
> tree...
> >>
> >> There's some standardization effort under way for @Inject, e.g.
> >> javax.inject.Inject annotations.
> >>
> >> Is there something we need to do to ensure we are still able to inject
> >> the required proxies when everybody starts using javax.inje...@inject?
> >>
> >> I know we are not an IoC container, nor strive to be one, but we might
> >> need to dig into this one to make it possible to keep on integrating
> >> with Guice and Spring...
> >>
> >> Martijn
> >>
> >
>

Reply via email to