-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: NHibernate and Aspect#?
PostPosted: Fri Mar 24, 2006 1:49 pm 
Newbie

Joined: Wed Oct 12, 2005 5:53 am
Posts: 2
hi

I was wondering if anyone has any experience of using Aspect# (or any other .Net AOP framework) with NHibernate? As they both use Castle's dynamic proxy, I was wondering if there is a nice way to integrate them both?

Basically what I want is that when I load an object using NH, if I have previouslyconfigured any AOP interceptors for the type, then the object I get back will have these already set up.

I know you can use Aspect# to wrap objects even after they have been instantiated elsewhere, but this relies on using an interface. And I didn't want to have to define an interface for all out business entities.

Any help/pointers really appreciated.

Cheers,
Andy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.