Uses of Interface
storage.DataStorage
Packages that use DataStorage
Package
Description
Background job processing system for automated banking operations.
Service layer classes delegates the Requests from the servlet to DAO.
Web layer servlets handling HTTP requests in the banking application from JSP's.
Data access layer providing Interface for multiple storage methods and Implementations.
-
Uses of DataStorage in job
Fields in job declared as DataStorageConstructors in job with parameters of type DataStorageModifierConstructorDescriptionInterestCalculationJob
(DataStorage dataStorage) Creates Interest Calculation Job -
Uses of DataStorage in service
Fields in service declared as DataStorageModifier and TypeFieldDescriptionprivate final DataStorage
AccountService.dataStorage
private final DataStorage
AuthenticationService.dataStorage
private DataStorage
CustomerService.dataStorage
Constructors in service with parameters of type DataStorageModifierConstructorDescriptionAccountService
(DataStorage dataStorage) Creates a new AccountService with the specified data storage based on user's choice.AuthenticationService
(DataStorage dataStorage) Creates a new AuthenticationService with the specified data storage.CustomerService
(DataStorage dataStorage) Creates a new CustomerService with the specified data storage. -
Uses of DataStorage in servlet
Fields in servlet declared as DataStorageModifier and TypeFieldDescriptionprivate DataStorage
LoginServlet.dataStorage
private DataStorage
SignupServlet.dataStorage
Methods in servlet that return DataStorageModifier and TypeMethodDescriptionprivate DataStorage
AccountServlet.getDataStorage
(String storageType) Gets the correct data storage implementation based on storage type.private DataStorage
CustomerServlet.getDataStorage
(String storageType) Gets the appropriate data storage implementation based on storage type. -
Uses of DataStorage in storage
Classes in storage that implement DataStorageModifier and TypeClassDescriptionclass
class
class
class