A Salesforce (Apex) Dependency Injection Framework
This is a dependency injection framework written in Apex for to be used on the Salesforce.com platform. An example is included with the framework out of the box.
- UpdateAccountTypePage and UpdateAccountTypeController are to be used in conjunction with a Visualforce page button (not included here but can be created declaritively in the SFDC user interface).
- IBean, AccountTypeBean, and AccountTypeBean2 are the classes associated with the controller and visualforce page example.
- TestAccountTypeBean and TestUpdateAccountTypeController are the two test classes for their respective classes.