[jboss-dev-forums] [JBoss Transactions Development] - Re: JTA 1.2 Implementation Work
Paul Robinson
do-not-reply at jboss.com
Wed May 8 10:49:35 EDT 2013
Paul Robinson [https://community.jboss.org/people/paul.robinson] created the discussion
"Re: JTA 1.2 Implementation Work"
To view the discussion, visit: https://community.jboss.org/message/816815#816815
--------------------------------------------------------------
Tom,
> Re: What's the best way to enable this feature in WildFly?
> The Context needs to be enabled via a CDI Extension. I'm currently enabling this via a configuration file (javax.enterprise.inject.spi.Extension) placed in the META-INF of the application. I think this is the way to do this for applications that run in a simple CDI container. However, we can remove this burden for applications deployed to WildFly. It's quite simple to enable this Extension in a DeploymentProcessor of the transactions SubSystem. However, we would need to either, enable it for all deployments, or just those that use @TransactionScoped (I don't yet know how to detect this).
>
>
>
> Does enabling the extension when an application does not use it add overhead to the application? Maybe provide a way to disable it rather than enable it if so?
>
I'm not sure. I'll check with Stuart Douglas when I ask him about activation.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/816815#816815]
Start a new discussion in JBoss Transactions Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130508/d09be947/attachment.html
More information about the jboss-dev-forums
mailing list