Managed Service & Managed Service factory

2016-10-16 Thread Krzysztof Sobkowiak
Hi Are there any samples how to implement correctly the Managed Service and Managed Service Factory / Component Factory using the OSGi Declarative Services Annotations? Something like in https://github.com/apache/karaf/tree/master/scr/examples/managed-service and

Re: Managed Service & Managed Service factory

2016-10-16 Thread James Carman
We have a little library we use called Eos to do ManagedServiceFactories (ManagedService is a bit easier): https://github.com/savoirtech/eos The "itest" module(s) have an example of how to wire it up using Blueprint:

Re: Managed Service & Managed Service factory

2016-10-16 Thread Johan Edstrom
This library drives completely factory driven systems, it is fun stuff to use. /je > On Oct 16, 2016, at 5:09 PM, James Carman wrote: > > We have a little library we use called Eos to do ManagedServiceFactories > (ManagedService is a bit easier): > >

Re: Hibernate 5

2016-10-16 Thread Jeongpil An
Hi, Guillaume Nodet I'm using Hibernate 4.3.11 on Karaf 4.0.6, because Hibernate 5.2.0 is not worked well. Hibernate 5.2.0 doesn't support transaction completion, in case of method call between bundles. For Example, Bundle A call Bundle B's Method. If Bundle B throws an exception, Bundle B