deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Resolved] (DELTASPIKE-967) Ability to start transaction scope manually
Date Thu, 30 Jul 2015 19:16:04 GMT


Mark Struberg resolved DELTASPIKE-967.
    Resolution: Won't Fix
      Assignee: Mark Struberg

CdiCtrl ContextCtrl is only intended to control the CDI specified contexts. There is simply
no portable way to control the impl of e.g.@ApplicationContext as this code is part of the
CDI container.

The @TransactionScoped otoh is none such a scope but a DeltaSpike specific scope. 
So this can perfectly be handled in a portable way by controling DeltaSpikes TransactionContext
directly. But I would not suggest this to random Joe but only for user who know _exactly_
what they do!

> Ability to start transaction scope manually
> -------------------------------------------
>                 Key: DELTASPIKE-967
>                 URL:
>             Project: DeltaSpike
>          Issue Type: New Feature
>    Affects Versions: 1.4.2
>            Reporter: John D. Ament
>            Assignee: Mark Struberg
> Currently, the CDI Context controller class defines methods to manually start the CDI
1.0 provided scopes - Request, Session, Application and ConversationScoped.
> There's presently no way in the DS codebase to manually start a TransactionScope using
the controllers
> See here

This message was sent by Atlassian JIRA

View raw message