Hi,
i would like to implement the following but i don't really know
whether is possible or how it could be the best way to do it.
I have a component whose lifestyle is pooled (i have to put the
instance back to the pool via Release).
component 'logbook_proxy', ILogbookContract:
@startable = true
lifestyle Pooled, InitialPoolSize = _proxyInstances, MaxPoolSize =
_proxyInstances
ClientModel = DefaultClientModel( WcfEndpoint.BoundTo(_binding).At
(_logbookEA) )
I have a Injector which makes use of it, which is applied to many
components.
component 'interceptProxy', IInterceptor,
LogbookExceptionInterceptor:
lifestyle Transient
LogbookProxy = @logbook_proxy
component 'c2', IC2, C2:
lifestyle Pooled, InitialPoolSize = 100, MaxPoolSize = 100
interceptor LogbookExceptionInterceptor
I would like to know which kind of Resolver or Handler or...., i
should implement in order when releasing the component 'c2', the
Interceptor was also resolved, as well the injected interceptor
properties.
Anyway i modified the design to skip it, however i would like to know
more about the possible solution.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---