java.lang.Object
ai.tutor.cab302exceptionalhandlers.factories.AbstractControllerFactory
ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory

public class ControllerFactory extends AbstractControllerFactory
Concrete factory for creating various controller builders.

This class extends AbstractControllerFactory and provides methods to obtain builders for different types of controllers used in the application. Each builder is initialized with the SQLiteConnection provided to this factory.

Usage Example:

 SQLiteConnection dbConnection = new SQLiteConnection("database.db");
 ControllerFactory factory = new ControllerFactory(dbConnection);

 AuthControllerBuilder authBuilder = factory.authController();
 // ... configure and build AuthController

 ChatControllerBuilder chatBuilder = factory.chatController();
 // ... configure and build ChatController
 
Author:
Justin.
See Also: