deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <andraschko.tho...@gmail.com>
Subject Re: Is it truly impossible to lookup @ViewScoped etc with BeanProvider?
Date Tue, 21 Jun 2016 10:39:38 GMT
BeanProvider should work fine with any scope.
Of course you can't receive a viewscoped bean from another thread/request.

2016-06-21 11:52 GMT+02:00 Karl Kildén <karl.kilden@gmail.com>:

> I have a RequestScoped Bean that needs to split the workload basically and
> the thread needs to lookup using the Bean that starts the thread so to
> speak...
>
> On 21 June 2016 at 11:24, Karl Kildén <karl.kilden@gmail.com> wrote:
>
> > Hello!
> >
> > If a project made a mistake in the architecture and needs to lookup JSF
> > scoped instances from the BeanProvider, is this possible in any way
> > (however hacky?).
> >
> > The problem is that since the request thread is needed to lookup the
> > instance it does not work from a thread.
> >
> > cheers
> >
>

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