storage Factory
Obtains the storage factory for the current environment.
For tests, if the value was not set, defaults to a new InMemoryStorageFactory
.
For other environments, if the value was not set, throws a IllegalStateException
.
Return
StorageFactory
instance for the storage for the current environment
Throws
if the value StorageFactory
was not configured prior to the call