I don't know if that's a new feature in a newer version of CDI, but I don't think you can do that in EE7. I'd try creating a CDI producer to inject that.
Hope that is some help. Jon On 26 Jul 2017 7:23 pm, "Chris Owens" <ctag+open...@chris-owens.com> wrote: > I'm getting UnsatisfiedResolutionException when I try to @Inject > java.time.Clock. > > Is the container supposed to be providing an instance, or do I need to > provide one myself? > > > > > > -- > View this message in context: http://tomee-openejb.979440.n4.nabble.com/ > UnsatisfiedResolutionException-for-java-time-Clock-tp4682324.html > Sent from the TomEE Users mailing list archive at Nabble.com. >