Not sure... you might need to add a custom decommission concern for that...

On 12/08/2010 12:03 AM, Richard Dingwall wrote:
On Aug 11, 12:50 pm, Krzysztof Koźmic<[email protected]>
wrote:
   Did you tryhttp://stw.castleproject.org/Windsor.WCF-Facility-Lifestyles.ashx
?
Yes for my services. For the session I am doing this:

windsor.Register(
                 Component.For<ISession>().LifeStyle.PerWcfOperation()
                     .UsingFactoryMethod(x =>
windsor.Resolve<ISessionManager>().OpenSession()));

That okay? It won't flush only dispose like this.

My question is, is there something in NHibernateFacility/WcfFacility
that takes care of this stuff?

Rich


--
You received this message because you are subscribed to the Google Groups "Castle 
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to