|Re: Hibernate SessionFactory as osgi:service [message #960948 is a reply to message #954965]
||Sat, 27 October 2012 23:31
| Mastah Naleh
Registered: April 2012
From memory no AOP is done on proxy of services made by blueprint because spring can't see the annotation.|
Though, you can export DAO class as services since the spring magic is already done.
And in OSGi you export final service implemented from interface (API). I think it's a bad design to expose hibernate session as a service, but I could be wrong.
API (define service)
Consumer (import API, consume provider service)
Provider (import API, export service )
[Updated on: Sat, 27 October 2012 23:34]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02969 seconds