Exemple #1
0
 public static void registerWrappedStorage(System.String key, System.String storeName, WrappingStorageUtility.SerializationWrapper wrapper)
 {
     StorageManager.registerStorage(key, new WrappingStorageUtility(storeName, wrapper, storageFactory));
 }
Exemple #2
0
 /**
  * Attempts to set the storage factory for the current environment. Will fail silently
  * if a storage factory has already been set. Should be used by default environment.
  *
  * @param fact An available storage factory.
  */
 public static void setStorageFactory(IStorageFactory fact)
 {
     StorageManager.setStorageFactory(fact, false);
 }