In a multi-threaded Java SE application, how can I make sure that a CDI request context is started for every thread?

As far as I can see, a request context is only available on the thread that created the CDI container (WebBeansContext).

Is there a portable way of starting the contexts (i.e without depending on OWB APIs)?

If not, will this be addressed in CDI 1.1?

Best regards,
Harald

Reply via email to