Class AbstractControllerFactory
java.lang.Object
ai.tutor.cab302exceptionalhandlers.factories.AbstractControllerFactory
- Direct Known Subclasses:
ControllerFactory
Abstract base class for controller factories.
This class is the foundation for factories that create controller builders,
ensuring each factory is initialized with a SQLiteConnection
.
Controller factories hold the same database connection address as it is a singleton. This allows all controller builders produced by the factory to share the same database connection.
- Author:
- Justin.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs anAbstractControllerFactory
. -
Method Summary
-
Field Details
-
db
-
-
Constructor Details
-
AbstractControllerFactory
Constructs anAbstractControllerFactory
.- Parameters:
db
- TheSQLiteConnection
to be used by the factory and subsequently by the controller builders it produces.
-