lab 2: Added a constructor to JsonFileStore to handle the acquisition of
a proper type reference. Refactored the setting of the file store and
type reference into setter methods. Updated deserialization call to use
the stored typeRef. Updated the JsonFileStoreTests to test both the
basic type and custom type constructors.
lab 2: Removed the alternate read methods from JsonFileStore and updated
the JsonFileStorePersistentMapTests to use the custom type constructor
for JsonFileStore and to use the regular read methods.
lab 2: attempt to make JsonFileStorePersistentMap able to read a custom
type map. Will change to actually take a fully constructed JsonFileStore
instead of a file. That way it will also be more extensible in the
future if other output formats are desired.
lab 2: refactored JsonFileStorePersistentMap to take a JsonFileStore
instead of a file from which to construct a file store. Thus, the logic
for handling custom type maps only has to go into creating the
JsonFileStore instead of both the file store and the persistent map.
This also made it possible to consolidate the three constructors for
JsonFileStorePersistentMap into one.
lab 2: Reworked the JsonFileStorePersistentMap constructor into three
static builder methods which are more self-documenting than the
former read-flagged constructor.
lab 2: added clarifying comments to JsonFileStorePersistentMapTests.
lab 2: Added custom collection type test to JsonFileStoreTests and
renamed former custom type test to custom simple type.
lab 2: Set up OAuthServiceManager to use JsonFileStore and
JsonFileStorePersistentMap.
lab 2: removed unused imports from OAuthServiceManager.
lab 2: Modified AuthorizationTokenManager to use
JsonFileStorePersistentMap.