@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
JasDBStorageException
public StorageService getStorageService(String instanceId, String bagName) throws JasDBStorageException
getStorageService
in interface StorageServiceFactory
JasDBStorageException
public StorageService getOrCreateStorageService(String instanceId, String bagName) throws JasDBStorageException
getOrCreateStorageService
in interface StorageServiceFactory
JasDBStorageException
protected StorageService createStorageServiceInstance(Instance instance, String bagName) throws JasDBStorageException
JasDBStorageException
public void removeStorageService(String instanceId, String bagName) throws JasDBStorageException
removeStorageService
in interface StorageServiceFactory
JasDBStorageException
public void removeAllStorageService(String instanceId) throws JasDBStorageException
removeAllStorageService
in interface StorageServiceFactory
JasDBStorageException
public void shutdownServiceFactory() throws JasDBStorageException
shutdownServiceFactory
in interface StorageServiceFactory
JasDBStorageException
Copyright © 2015. All rights reserved.