|Re: EMFInterceptor [message #878205 is a reply to message #877998]
||Mon, 28 May 2012 20:31
| Martin Taal
Registered: July 2009
I guess you found this page:
So you create a datastore and then before initializing it you do this:
final ExtensionManager extensionManager = dataStore.getExtensionManager();
I don't know the jboss hibernate interceptors.. The EMF Interceptor is an implementation of the hibernate interceptor.
You can find the source code of the EMF Interceptor here:
n 05/28/2012 11:25 AM, Serhan OZAN wrote:
> I have an application that uses the EMF teneo with osgi framework and I'd like to implement an audit logging mechanism.
> As I am new to the platform, all I managed to learn is that I have to extend the EMFInterceptor class and then register
> it as an extension. However, I don't know how to do it. Besides, I wonder how this differs from the JBoss hibernate
> interceptors? I mean how can I implement different logger classes for different model objects?
> Any help is appreciated.
> Thanks in advance.
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.01733 seconds