Use ModelInterceptorSelector
On 26/02/2011 4:50 AM, mynkow wrote:
Hi, I am new to castle.
In my code I do something like this IoC.Resolve<object>()
There is a application configuration which tells whether a proxy
should be used or not. If "true" then a proxy obejct should be
returned when I call IoC.Resolve<object>(). I know how to create a
proxy object. I know how interceptors work. I do not know how to
intercept (get inside) the Resolve() method of castle windsor. I think
that the interceptor should take care for the creation or not of the
proxy object. What do you think?
best regards
--
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.
--
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.