Re: Data Module dependency question

2015-07-30 Thread Thomas Andraschko
Hi,

Javassist isnt required anymore but the proxy module api + asm5 impl.

Am Donnerstag, 30. Juli 2015 schrieb John D. Ament :

> All,
>
> Is this link content still accurate?
>
>
> http://deltaspike.apache.org/documentation/data.html#1.DeclareDataModuleDependencies
>
> E.g. do we still need javassist, or is the proxy module and asm appropriate
> now?
>
> John
>


Re: Data Module dependency question

2015-07-30 Thread John D. Ament
That's what I thought.  I'll update hte docs.

I'm presently able to do it without ASM5.  We're not shading are we?

On Thu, Jul 30, 2015 at 4:06 AM Thomas Andraschko <
andraschko.tho...@gmail.com> wrote:

> Hi,
>
> Javassist isnt required anymore but the proxy module api + asm5 impl.
>
> Am Donnerstag, 30. Juli 2015 schrieb John D. Ament :
>
> > All,
> >
> > Is this link content still accurate?
> >
> >
> >
> http://deltaspike.apache.org/documentation/data.html#1.DeclareDataModuleDependencies
> >
> > E.g. do we still need javassist, or is the proxy module and asm
> appropriate
> > now?
> >
> > John
> >
>


[jira] [Created] (DELTASPIKE-967) Ability to start transaction scope manually

2015-07-30 Thread John D. Ament (JIRA)
John D. Ament created DELTASPIKE-967:


 Summary: Ability to start transaction scope manually
 Key: DELTASPIKE-967
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-967
 Project: DeltaSpike
  Issue Type: New Feature
Affects Versions: 1.4.2
Reporter: John D. Ament


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

https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-weld/src/main/java/org/apache/deltaspike/cdise/weld/WeldContextControl.java#L76
https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-owb/src/main/java/org/apache/deltaspike/cdise/owb/OpenWebBeansContextControl.java#L72



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Data Module dependency question

2015-07-30 Thread Gerhard Petracek
hi john,

we repackage it via shade (see e.g. [1]).

regards,
gerhard

[1] http://s.apache.org/hd



2015-07-30 13:19 GMT+02:00 John D. Ament :

> That's what I thought.  I'll update hte docs.
>
> I'm presently able to do it without ASM5.  We're not shading are we?
>
> On Thu, Jul 30, 2015 at 4:06 AM Thomas Andraschko <
> andraschko.tho...@gmail.com> wrote:
>
> > Hi,
> >
> > Javassist isnt required anymore but the proxy module api + asm5 impl.
> >
> > Am Donnerstag, 30. Juli 2015 schrieb John D. Ament :
> >
> > > All,
> > >
> > > Is this link content still accurate?
> > >
> > >
> > >
> >
> http://deltaspike.apache.org/documentation/data.html#1.DeclareDataModuleDependencies
> > >
> > > E.g. do we still need javassist, or is the proxy module and asm
> > appropriate
> > > now?
> > >
> > > John
> > >
> >
>


[jira] [Resolved] (DELTASPIKE-967) Ability to start transaction scope manually

2015-07-30 Thread Mark Struberg (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/DELTASPIKE-967
> 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
> https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-weld/src/main/java/org/apache/deltaspike/cdise/weld/WeldContextControl.java#L76
> https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-owb/src/main/java/org/apache/deltaspike/cdise/owb/OpenWebBeansContextControl.java#L72



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DELTASPIKE-967) Ability to start transaction scope manually

2015-07-30 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648161#comment-14648161
 ] 

Gerhard Petracek commented on DELTASPIKE-967:
-

i agree with mark -> imo we don't need this ticket.

> Ability to start transaction scope manually
> ---
>
> Key: DELTASPIKE-967
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-967
> 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
> https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-weld/src/main/java/org/apache/deltaspike/cdise/weld/WeldContextControl.java#L76
> https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-owb/src/main/java/org/apache/deltaspike/cdise/owb/OpenWebBeansContextControl.java#L72



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)