S - allows to enforce a type of storageC - allows to enforce a corresponding type of storage configurationpublic interface StorageFactory<S extends Storage,C extends StorageConf>
| Modifier and Type | Method and Description |
|---|---|
S |
create(C storageConf)
|
S create(C storageConf) throws StorageCreationException
storageConf - the storage configuration to useStorageStorageCreationException - if an exception occured during the
creationIllegalArgumentException - if the type of storageConf isn't
supportedCopyright © 2018. All rights reserved.