class OrientKeyStoreStorageManager extends StateGuardLifecycleSupport implements KeyStoreStorageManager {

  @Override
  @Guarded(by = STARTED)
  public KeyStoreStorage createStorage(final String keyStoreName) {
    checkNotNull(keyStoreName);
    OrientKeyStoreStorage storage = new OrientKeyStoreStorage(this, KeyStoreManagerImpl.NAME + '/' + keyStoreName);
    eventManager.register(storage);
    storages.add(storage);
    return storage;
  }

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

}