Package edu.pdx.cs410J.di
package edu.pdx.cs410J.di
Examples of using Dependency Injection and Google Guice.
-
ClassDescriptionA book in a book storeAn implementation of
BookInventory
that stores a database of books in a flat fileThe functionality required for an inventory of booksA swing table model that lists the contents of aBookInventory
A book store that depends on aBookInventory
and aCreditCardService
A main program that launches a book store using the "production"BookInventory
andCreditCardService
A simple Java swing user interface for a Book Store applicationA Guice module that configures the well-known objects for the book store applicationA swing table that displays the contents of ashopping cart
A swing table mode for the shopping cartA table that shows the inventory of books and lets the user select one to be added to a shopping cart.A subclass ofBookInventoryTableModel
that adds an extra column.A class that represents a credit cardStoresCreditCard
s in an XML fileThe functionality required for a credit card serviceThrow when there was an error when transacting with aCreditCardService
Enumerates the various kind of return codes that can be sent back from aCreditCardService
A marker interface for constructor parameters whose values should be the data directoryACreditCardService
that makes REST calls to access the First Bank of Portland State.The superclass of classes that store objects serialized to a file using JAXBA Credit Card service that exposes its behavior via RESTLogs all calls to the rest servicesA Guice module that binds in all of the REST services and filters