IMPLICIT COMPOSITION OF COMPONENT BINDINGS
First Claim
1. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to perform a method for composing a plurality of components of a program, the method comprising:
- an act of creating a component domain;
an act of instantiating the plurality of components;
an act of associating at least some of the plurality of components with the component domain;
an act of formulating service export data, the service export data identifying, for each of at least one service including a particular service, at least one of the components of the components associated with the component domain that exports the service;
an act of formulating service import data, the service export data identifying, for each of at least one service including the particular service, at least one of the components of the components associated with the component domain that imports the service;
an act of comparing the service export data with the service import data; and
an act of matching a component that exports the particular service, and a component that the imports the particular service based on the act of comparing.
2 Assignments
0 Petitions
Accused Products
Abstract
Component domains used to define a binding between various components associated with the component domain. The component domain tracks the various services to be imported by each component, and tracks the various services exported by each component. At runtime, rather than at compile time, the various interrelations between the components are bound using the service import and export data. Accordingly, depending on the components available and their characteristics, the bindings may differ. This permits applications to be much more flexible.
-
Citations
20 Claims
-
1. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to perform a method for composing a plurality of components of a program, the method comprising:
-
an act of creating a component domain; an act of instantiating the plurality of components; an act of associating at least some of the plurality of components with the component domain; an act of formulating service export data, the service export data identifying, for each of at least one service including a particular service, at least one of the components of the components associated with the component domain that exports the service; an act of formulating service import data, the service export data identifying, for each of at least one service including the particular service, at least one of the components of the components associated with the component domain that imports the service; an act of comparing the service export data with the service import data; and an act of matching a component that exports the particular service, and a component that the imports the particular service based on the act of comparing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to instantiate in memory the following:
-
a component domain; an association module capable of associating instantiated components with the component domain; a service indexing mechanism configured to index services exported and imported by the components associated with the component domain; and a matching mechanism configured to match components associated with the component domains using the index service such that components that import a particular service are matched against a component that exports the particular service. - View Dependent Claims (18)
-
-
19. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to perform a method for composing a plurality of components of a program, the method comprising:
-
an act of creating a component domain in a memory; an act of associating a plurality of instantiated components with the component domain; an act of inventorying services exported and imported by the components on an individual component basis, the inventory obtained, directly or indirectly, from class definitions for the components; an act of formulating a plurality of component matchings, each matching including the matching of a service exported by a component with a service imported by another component; and an act of binding the plurality of component matchings. - View Dependent Claims (20)
-
Specification