This content has been marked as final.
Show 2 replies
-
1. Re: From within a Service, how do I get a ServiceRegistry?
manovotn Feb 7, 2019 5:42 AM (in response to ljnelson)1 of 1 people found this helpfulHi
First thing coming to mind is indeed WeldManager.
Note that beginning with Weld 3.1.0.Final (released yesterday), WeldManager is a built-in bean. That means you can directly @Inject WeldManager, or do CDI.current().select(WeldManager.class).get().
-
2. Re: From within a Service, how do I get a ServiceRegistry?
ljnelson Feb 7, 2019 11:35 AM (in response to manovotn)Thanks. In my case, I'm in a
JpaInjectionServices
(aService
implementation) so my understanding is injection is not available.