com.neeve.ods
Interface IStoreProvider


public interface IStoreProvider

Represents an ODS provider.

This interface identifies a store provider. Each ODS provider plug-in implements this interface.

Threading:
A store provider is not safe for concurrent access by multiple threads.

Method Summary
 IStoreBinding createStoreBinding(String memberName, StoreDescriptor descriptor, IStoreEventHandler eventHandler, int flags)
          Bind to a data store.
 String getName()
          Get the provider name
 

Method Detail

getName

String getName()
Get the provider name


createStoreBinding

IStoreBinding createStoreBinding(String memberName,
                                 StoreDescriptor descriptor,
                                 IStoreEventHandler eventHandler,
                                 int flags)
                                 throws OdsException
Bind to a data store.

Parameters:
memberName - The name of the member establishing the store binding.
descriptor - The store descriptor used to establish the binding.
eventHandler - The event handler to be used by the created binding to dispatch events to the user.
flags - Specifies flags used to qualify the creation of the binding. The following flags are permitted for use currently:
  - StoreBindingFactory.FLG_EVENT_SOURCING
Throws:
OdsException - Thrown in case an error occurs during the creation of the binding.
Threading:
This method is not safe for concurrent access by multiple threads.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.