Hi guys,

I'm committing some changes in the Monorail and Monorail's Windsor
Extension to enable the view component release.

The current version, wasn't releasing the components after each
request (they only were releasing when and if the developer disposes
the container).

Now, all the view components registered on windsor, have their release
delegated to the container/kernel. If the vc isn't registered in the
container, but implements the IDisposable interface,  the Dispose
method will be invoked as well. Note that the ViewEngine must invoke
the release method on the ViewComponentFactory, passing the VC as
parameter. I updated the NVelocity viewengine, but I don't how the
others engines handles it.

If anyone have issues with this change, let me know.

PS: I had to change the IViewComponentFactory interface (added the
Release method), so, all the VCFactories that doesn't inherits from
the AbstractVCFactory, must be updated to reflect this change.

Cheers,
Henry Conceição

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to