Dependency injection for the XP Framework