Re: [osgi-dev] Valid coordinator scenario?

2015-08-04 Thread BJ Hargrave
Perfect! Then blueprint will hold the strong reference for you and pass it back to the post call to either end or fail the coordination. --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com

Re: [osgi-dev] Valid coordinator scenario?

2015-08-04 Thread Christian Schneider
Hi BJ, I thought I had explained it earlier but looking through the mails I did not :-) Basically my case is what Aries Transaction and Aries JPA need for blueprint support. Each implement a blueprint Interceptor that is called before and after the user bean. Both can begin a Coordination

Re: [osgi-dev] Valid coordinator scenario?

2015-08-04 Thread Christian Schneider
Actually after talking to Peter I just found a much simpler solution when I tried to explain the problem. I am using the Aries blueprint interceptor interface: https://github.com/apache/aries/blob/trunk/blueprint/blueprint-parser/src/main/java/org/apache/aries/blueprint/Interceptor.java It

Re: [osgi-dev] Valid coordinator scenario?

2015-08-04 Thread Jean-Baptiste Onofré
Hi Christian, +1 (it's actually what I wanted to propose as well). Regards JB On 08/04/2015 09:21 AM, Christian Schneider wrote: Actually after talking to Peter I just found a much simpler solution when I tried to explain the problem. I am using the Aries blueprint interceptor interface: