Preheat oven to 375 degrees F. In a large saute pan over medium high heat, heat 2 tablespoons of olive oil, add eggplant and cook, stirring until golden. Remove to drain on paper towels. Add remaining olive oil and mushrooms to pan and saute until they start to brown. Season with salt and pepper. Remove from heat. In a shallow gratin dish combine cannelini beans, cooked eggplant and mushrooms, garlic, rosemary and thyme. Arrange tomatoes on top, pour the wine over it. Bake for 30 minutes. Stir the mixture. Mix bread crumbs with melted butter and sprinkle them on top. Return to oven for 25 to 30 minutes or until golden and crisp.