Method and system for interfacing components via aggregate components formed by aggregating the components each with an instance of a component manager
First Claim
1. A method in a computer system for managing interconnecting a first component to a second component, the first component having a first interface for providing services, the second component having a second interface for providing services, the method comprising the computer implemented steps of:
- aggregating the first component into a first instance of a component manager and aggregating the second component into a second instance of the component manager;
under control of the first instance of the component manager,receiving from the first component a pointer to the first interface;
receiving a request to instantiate a connector object for the first interface; and
in response to receiving the request, instantiating a first connector object and storing in the first connector object the pointer to the first interface;
under control of the second instance of the component manager,receiving from the second component a pointer to the second interface;
receiving a request to instantiate a connector object for the second interface; and
in response to receiving the request, instantiating a second connector object and storing in the second connector object the pointer to the second interface; and
upon receiving a request to connect the first connector object to the second connector object,retrieving from the first connector object the pointer to the first interface and storing the retrieved pointer to the first interface in the second component, whereby the second component can access the services of the first interface through the pointer to the first interface stored in the second component; and
retrieving from the second connector object the pointer to the second interface and storing the retrieved pointer to the second interface in the first component, whereby the first component can access the services of the second interface through the pointer to the second interface stored in the first component.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for managing the connection of client components to an interface implemented by a server component. In a preferred embodiment, a user component provides an implementation of an interface and a description of the interface. A component manager aggregates the user component into itself to form a server component. When a client requests a connection to the interface, the component manager retrieves a reference to the interface from the user component and sends the reference to the client components. In a preferred embodiment, the component manager tracks the client components connected through an interface. A user component may also provide multiple interfaces to client components which the component manager also tracks.
148 Citations
14 Claims
-
1. A method in a computer system for managing interconnecting a first component to a second component, the first component having a first interface for providing services, the second component having a second interface for providing services, the method comprising the computer implemented steps of:
-
aggregating the first component into a first instance of a component manager and aggregating the second component into a second instance of the component manager; under control of the first instance of the component manager, receiving from the first component a pointer to the first interface; receiving a request to instantiate a connector object for the first interface; and in response to receiving the request, instantiating a first connector object and storing in the first connector object the pointer to the first interface; under control of the second instance of the component manager, receiving from the second component a pointer to the second interface; receiving a request to instantiate a connector object for the second interface; and in response to receiving the request, instantiating a second connector object and storing in the second connector object the pointer to the second interface; and upon receiving a request to connect the first connector object to the second connector object, retrieving from the first connector object the pointer to the first interface and storing the retrieved pointer to the first interface in the second component, whereby the second component can access the services of the first interface through the pointer to the first interface stored in the second component; and retrieving from the second connector object the pointer to the second interface and storing the retrieved pointer to the second interface in the first component, whereby the first component can access the services of the second interface through the pointer to the second interface stored in the first component.
-
-
2. A computer-based component manager for managing the interconnection of components comprising:
-
an aggregator for aggregating a first user component into an instance of the component manager to form a first aggregate component, the first user component providing a first user component interface; a retrieving module for retrieving frown the first user component an identification of the first user component interface, a pointer to the first user component interface, and a reference to a location in the first user component at which to store a pointer to a second user component interface of a second user component in a second aggregate component, the second aggregate component being an aggregate of a second instance of the component manager and the second user component; a sending module for sending to the second aggregate component, in response to a request to connect the first aggregate component to the second aggregate component, the pointer to the first user component interface of the first user component; and a receiving module for receiving from the second aggregate component the pointer to the second user component interface of the second user component and is for storing the received pointer to the second user component interface in the location of the first user component indicated by the retrieved reference wherein the first aggregate component is connected to the second aggregate component by using the sending module of the first aggregate component send to the second aggegate component the pointer to the first user component interface and by using the receiving module of the first aggregate component to receive the pointer to the second user component interface and to store the received as pointer in the location of the first user component indicated by the reference retreived by the retrieving module of the first user component interface, and wherein the first user component accesses the second user component interface using the stored pointer. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9)
-
-
10. A method in a computer system for interconnecting two components, the method comprising the computer-implemented steps of:
-
creating a first component by aggregating a first instance of a component manager with a first user component, the component manager for managing the interconnection of components, the first user component having a first user component interface; creating a second component by aggregating a second instance of the component manager with a second user component; under control of the first instance of the component manager, creating a first connector object, the first connector object having a pointer to the first user component interface; under the control of the second instance of the component manager, creating a second connector object having a reference to a location in the second user component; and connecting the first component to the second component by specifying the first connector object and the second connector object, by retrieving the pointer to the first user component interface from the first connector object, by retrieving the reference to the location in the second user component from the second connector object, and by storing the retrieved pointer in the referenced location wherein the second user component can access services of the first user component interface through the pointer stored at the referenced location. - View Dependent Claims (11, 12, 13, 14)
-
Specification