class OrientKeyStoreStorageManager extends StateGuardLifecycleSupport implements KeyStoreStorageManager {

  @Guarded(by = STARTED)
  @Nullable
  public OrientKeyStoreData load(final String keyStoreName) {
    checkNotNull(keyStoreName);
    return inTx(databaseInstance).call(db -> entityAdapter.load(db, keyStoreName));
  }

  @Inject public  OrientKeyStoreStorageManager(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance,
                                    final OrientKeyStoreDataEntityAdapter entityAdapter,
                                    final EventManager eventManager);

}