ContentProviderCreator

class kanzi::connect::ContentProviderCreator

Abstract creator class for Content Providers.

Content providers are registered to content manager by passing an uri and an instance of this class. Whenever the content manager receives a query to a specific domain uri, it will find (or instantiate) a content provider accordingly and uses it to perform the content query.

Subclassed by ContentProviderCreatorImpl< ProviderClass >

Public Functions

~ContentProviderCreator()

Destructor.

ContentProviderSharedPtr create(WorkQueueInterface *workQueue) = 0

Function that creates an instance of a Content Provider.

Return

New content provider instance.

Parameters
  • workQueue: interface to work queue mechanism.