> > > Since in that scenario, their is no well defined scope boundary, I just > picked thread static since your data access component cannot be shared on a > thread. You can obtain the scope any way you like. Again, the problem is > that scope will never be disposed so if you component has lifecycle > concerns (disposable), they wont be called >
But when using Transient, the component is correctly disposed ? If I correctly understood the Transient lifestyle, Castle doesn't keep a reference to the created object so this object is disposed when GC run, isn't ? There is no way to achieve the same behaviour here ? -- 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.
