Hi everyone.
I worked for about a year on a big Java based project which uses Struts2 for MVC support and Spring for DI, and now, because of a shift in company's management I have to migrate my whole project to .NET.
I started poking around with Unity and MVC2, and since I have to replicate my previous solution, I was wondering does Unity have a mechanism similar to Spring's init-method and destroy-method methods. Here's an example of a Spring bean that uses these methods:
<bean id="connectionService" class="com.dms.webclient.service.impl.ConnectionServiceImpl"
init-method="init" destroy-method="destroy"/>`