Patent ID: 7712077

Claim:
A method of instantiating software components, each component conforming to a component-based specification requiring the instantiation in at least one predefined context, wherein the method includes the steps of: receiving, under control of an auxiliary component, the auxiliary component being a factory module, a request from a client to instantiate a target component, the request including an indication of the target component and a corresponding target context, the target context defining a domain in which the target component will execute, wherein the target context includes information about availability and configuration of (i) a security resource, (ii) a scheduling priority of the target process; causing, under the control of an auxiliary component, the instantiation of the target component in a target process being configured according to the target context, wherein the causing includes the auxiliary component starting execution of an intermediate module in the target process passing the indication of the target component and the intermediate module instantiating the target component in-process, the intermediate module being an impersonator module, wherein each component implements a predefined interface exposing at least one instantiation method for instantiating the component in a predefined context, and wherein the auxiliary component extends the interface with at least one further instantiation method for receiving the request from the client, the auxiliary component starting the execution of the intermediate module in response to the calling of the at least one further instantiation method, and the intermediate module instantiating the target component by calling the corresponding at least one instantiation method; and returning, under the control of an auxiliary component, an identifier for accessing the target component to the client.