public void store(PreferencesImpl prefs) throws BackingStoreException {
final Session session = this.checkInitialized();
try {
this.store(prefs, session);
} catch (RepositoryException re) {
throw new BackingStoreException("Unable to store preferences.", re);
} finally {
session.logout();
}
}