public class SimpleStorageRepositoryManager extends Object implements StorageRepositoryManager
Constructor and Description |
---|
SimpleStorageRepositoryManager() |
Modifier and Type | Method and Description |
---|---|
StorageRepository |
get(SessionStorageType storageType) |
StorageRepository |
get(String id) |
AsyncFileStorageRepository |
getAsyncFileStorageRepository() |
FileBasedStorageRepository |
getFileStorageRepository() |
MemoryBasedStorageRepository |
getMemoryStorageRepository() |
Collection<StorageRepository> |
getRepositories() |
SessionStorageType |
getStorageType(String id) |
SessionStorageType |
register(String id,
StorageRepository storageRepository) |
public StorageRepository get(SessionStorageType storageType)
get
in interface StorageRepositoryManager
public StorageRepository get(String id)
get
in interface StorageRepositoryManager
public SessionStorageType register(String id, StorageRepository storageRepository)
register
in interface StorageRepositoryManager
public SessionStorageType getStorageType(String id)
getStorageType
in interface StorageRepositoryManager
public FileBasedStorageRepository getFileStorageRepository()
getFileStorageRepository
in interface StorageRepositoryManager
public MemoryBasedStorageRepository getMemoryStorageRepository()
getMemoryStorageRepository
in interface StorageRepositoryManager
public AsyncFileStorageRepository getAsyncFileStorageRepository()
getAsyncFileStorageRepository
in interface StorageRepositoryManager
public Collection<StorageRepository> getRepositories()
getRepositories
in interface StorageRepositoryManager
Copyright © 2005–2024 Onix Solutions. All rights reserved.