/**
* @see org.apache.felix.prefs.BackingStoreManager#getStore()
*/
public BackingStore getStore() throws BackingStoreException {
BackingStore service = null;
ServiceTracker storeTracker = this.storeTracker;
// Only possible if we're not stopped already...
if (storeTracker != null) {
// has the service changed?
int currentCount = storeTracker.getTrackingCount();
service = (BackingStore) storeTracker.getService();
if (service != null && this.storeTrackingCount < currentCount) {
this.storeTrackingCount = currentCount;
this.cleanupStore(service);
}
if (service == null) {