Invention Grant
US07712077B2 Method and system for instantiating components conforming to the “COM” specification in custom contexts
失效
在自定义上下文中实例化符合“COM”规范的组件的方法和系统
- Patent Title: Method and system for instantiating components conforming to the “COM” specification in custom contexts
- Patent Title (中): 在自定义上下文中实例化符合“COM”规范的组件的方法和系统
-
Application No.: US11034547Application Date: 2005-01-13
-
Publication No.: US07712077B2Publication Date: 2010-05-04
- Inventor: Francesco Carusi , Vincenzo Sciacca
- Applicant: Francesco Carusi , Vincenzo Sciacca
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Garg Law Firm, PLLC
- Agent Rakesh Garg; Jeffrey S LaBaw
- Priority: EP04368013 20040227
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F15/16 ; H04L29/06

Abstract:
A method and system for instantiating COM components in custom contexts are proposed. The solution of the invention is based on an auxiliary component, acting as a factory (215). Whenever a client (205) needs to instantiate a new target component in a desired custom context, it calls a dedicated method exposed by the factory, passing the identifier of the target component together with information about the custom context. The factory starts execution of an additional module, operating as an impersonator (225), in a new process (230) conforming to the custom context. The impersonator then instantiates the target component in its own process. The impersonator passes a pointer for the target component to the factory (calling a further method that is exposed by the factory); the factory in turn returns that pointer to the client.
Public/Granted literature
- US20050193392A1 Method and system for instantiating components conforming to the "COM" specification in custom contexts Public/Granted day:2005-09-01
Information query