@Component public class LocalStorageServiceFactoryImpl extends Object implements StorageServiceFactory
| Constructor and Description |
|---|
LocalStorageServiceFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected StorageService |
createStorageServiceInstance(Instance instance,
String bagName) |
StorageService |
getOrCreateStorageService(String instanceId,
String bagName) |
StorageService |
getStorageService(String instanceId,
String bagName) |
void |
initializeServices() |
void |
removeAllStorageService(String instanceId) |
void |
removeStorageService(String instanceId,
String bagName) |
void |
shutdownServiceFactory() |
@PostConstruct public void initializeServices() throws JasDBStorageException
JasDBStorageExceptionpublic StorageService getStorageService(String instanceId, String bagName) throws JasDBStorageException
getStorageService in interface StorageServiceFactoryJasDBStorageExceptionpublic StorageService getOrCreateStorageService(String instanceId, String bagName) throws JasDBStorageException
getOrCreateStorageService in interface StorageServiceFactoryJasDBStorageExceptionprotected StorageService createStorageServiceInstance(Instance instance, String bagName) throws JasDBStorageException
JasDBStorageExceptionpublic void removeStorageService(String instanceId, String bagName) throws JasDBStorageException
removeStorageService in interface StorageServiceFactoryJasDBStorageExceptionpublic void removeAllStorageService(String instanceId) throws JasDBStorageException
removeAllStorageService in interface StorageServiceFactoryJasDBStorageExceptionpublic void shutdownServiceFactory()
throws JasDBStorageException
shutdownServiceFactory in interface StorageServiceFactoryJasDBStorageExceptionCopyright © 2015. All rights reserved.