CDI 1.1: Is @Observes @Initialized(TransactionScoped.class)
supposed to work?
@ApplicationScoped
public class MyClass {
public void processConversationScopedInit(@Observes
@Initialized(TransactionScoped.class) Object payload) {}
public void processConversationScopedDestroyed(@Observes
@Destroyed(TransactionScoped.class) Object payload) {}
}
It's a standard scope in CDI 1.1, but it's conspiciuously missing from this list here:
http://www.next-presso.com/2014/06/you-think-you-know-everything-about-cdi-events-think-again/
I can't seem to get it to work in TomEE 7.0.5/OpenWebBeans, and I'm curious if that's just an oversight in the spec. Thanks!