Jonathan S Fisher created TOMEE-2228:
----------------------------------------
Summary: CDI Event should fire when TransactionScope is created
Key: TOMEE-2228
URL: https://issues.apache.org/jira/browse/TOMEE-2228
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 7.0.5
Reporter: Jonathan S Fisher
Given the code:
{code}
@ApplicationScoped
public class MyClass {
public void processConversationScopedInit(@Observes
@Initialized(TransactionScoped.class) Object payload) {}
public void processConversationScopedDestroyed(@Observes
@Destroyed(TransactionScoped.class) Object payload) {}
}
{code}
One would expect these events to fire. Although not specifically mandated in
the spec, it does encourage portable extensions to fire @Initialized(X.class)
where X is a custom scope.
* https://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#request_context
* TOMEE-1282
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)