J
Joseph Geretz
If an HttpHandler is implementing IsReusable = true, is the instance
notitifed when it is actually released to the pool? Of course, each instance
is released to the pool when ProcessRequest terminates. I'm working on a
different design pattern though. In my architecture, all of my handlers
derive from a base super-handler class and I'd like to implement certain
behavior in the super-handler class to occur at transaction completion time.
For a non-pooled object this would happen when the class is disposed, for a
pooled object this would happen when the object is released to the pool. How
can I determine when this latter event, release to the pool, happens?
Thanks for your advice.
- Joseph Geretz -
notitifed when it is actually released to the pool? Of course, each instance
is released to the pool when ProcessRequest terminates. I'm working on a
different design pattern though. In my architecture, all of my handlers
derive from a base super-handler class and I'd like to implement certain
behavior in the super-handler class to occur at transaction completion time.
For a non-pooled object this would happen when the class is disposed, for a
pooled object this would happen when the object is released to the pool. How
can I determine when this latter event, release to the pool, happens?
Thanks for your advice.
- Joseph Geretz -