Adapting between coupled and decoupled provider interfaces
First Claim
Patent Images
1. A system for adapting a provider interface comprising:
- a binder implemented by a processing unit that is coupled to a plurality of providers and a consumer, at least one of the plurality of providers having a provider interface of a first type, and at least another one of the plurality of providers having a provider interface of a second type,the consumer requesting a particular provider from the plurality of providers and a provider interface of a first type via a request, the request being configured to identify the particular provider and the provider interface of the first type, the binder being configured to receive the request,the binder further configured to;
determine whether the particular provider exists,create the particular provider in response to determining that the particular provider does not exist,determine whether the particular provider exposes the provider interface of the first type or a second type in response to determining that the particular provider exists,provide the particular provider to the consumer in response to determining that the particular provider exposes the provider interface of the first type,in response to determining that the particular provider exposes the provider interface of the second type, create an adapter that converts the provider interface of the second type to the provider interface of the first type, andprovide an object to the consumer, the object supporting the provider interface of the first type.
2 Assignments
0 Petitions
Accused Products
Abstract
Adapters are provided to convert a decoupled provider interface to a coupled provider interface and/or to convert a coupled provider interface to a decoupled provider interface. A decoupled provider may indirectly expose a data model by providing one or more of a sequence of unchanging views of data via snapshots and snapshot update events. A coupled provider may directly expose a dynamic data model or view and model update events. A decoupled consumer of data may consume data that is provided in snapshots and snapshot update events while a coupled consumer may consume data in the form of a dynamic data model and model update events.
18 Citations
15 Claims
-
1. A system for adapting a provider interface comprising:
-
a binder implemented by a processing unit that is coupled to a plurality of providers and a consumer, at least one of the plurality of providers having a provider interface of a first type, and at least another one of the plurality of providers having a provider interface of a second type, the consumer requesting a particular provider from the plurality of providers and a provider interface of a first type via a request, the request being configured to identify the particular provider and the provider interface of the first type, the binder being configured to receive the request, the binder further configured to; determine whether the particular provider exists, create the particular provider in response to determining that the particular provider does not exist, determine whether the particular provider exposes the provider interface of the first type or a second type in response to determining that the particular provider exists, provide the particular provider to the consumer in response to determining that the particular provider exposes the provider interface of the first type, in response to determining that the particular provider exposes the provider interface of the second type, create an adapter that converts the provider interface of the second type to the provider interface of the first type, and provide an object to the consumer, the object supporting the provider interface of the first type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for adapting provider interfaces comprising:
-
receiving a request from a consumer for data from a provider selected from a plurality of providers, wherein the request; identifies the provider or identifies a context associated with the provider and identifies a provider interface of a first type for the consumer, the provider interface of the first type comprising; a provider interface that indirectly exposes a data model using snapshots and provides snapshot update events or a provider interface that directly exposes a dynamic data model and provides model update events; determining whether the provider exists, creating the provider in response to determining that the particular provider does not exist, determining whether the provider exposes the provider interface of the first type or a second type in response to determining that the provider exists, providing the provider to the consumer in response to determining that the provider exposes the provider interface of the first type, in response to determining that the provider exposes the provider interface of the second type, creating an adapter that converts the provider interface of the second type to the provider interface of the first type, and providing an object to the consumer, the object supporting the provider interface of the first type. - View Dependent Claims (11, 12, 13)
-
-
14. A computer-readable storage medium having computer program code recorded thereon for adapting provider interfaces, the computer program code comprising:
-
a first program code configured to receive a request from a consumer that identifies a first type of provider interface for data from a provider, the provider exposing a second type of provider interface, wherein the first type of provider interface indirectly exposes a data model via snapshots and provides snapshot update events or directly exposes a dynamic data model and provides model update events, and wherein the second type of provider interface indirectly exposes a data model via snapshots and provides snapshot update events or directly exposes a dynamic data model and provides model update events; a second program code configured to determine whether the provider exists; a third program code configured to create the provider in response to determining that the particular provider does not exist; a fourth program code configured to determine whether the provider exposes the provider interface of the first type or a second type in response to determining that the provider exists; a fifth program code configured to provide the provider to the consumer in response to determining that the provider exposes the provider interface of the first type; a sixth program code configured to, in response to determining that the provider exposes the provider interface of the second type, create an adapter that converts the provider interface of the second type to the provider interface of the first type; and a seventh program code configured to provide an object to the consumer, the object supporting the first type of provider interface. - View Dependent Claims (15)
-
Specification