发明名称 METHOD AND SYSTEM FOR EXTENSION REGISTRY FILTERING
摘要 A set of attached extensions is reduced before it is exposed to the code of a processing extension point to which the extensions are attached. An application calls an extension registry to obtain a list of available extensions attached to a given extension point, and filter functionality is integrated into the extension registry. Filters including filtering logic are plugged into the extension registry itself, and the extension registry selects the filter or filters to be applied for a current context. The extension registry itself defines an extension point to collect filters as extensions and to define an interface that those filters will implement. Each filter specifies when it should be called. As a result, an application can supply a filter that knows what extensions to expose and which to exclude in one or more contexts, and provide a hint to the extension registry indicating when the extension registry should apply the filter. Each filter can specify a name of an extension registry instance, allowing the application to specify that name when obtaining an extension registry instance. The named instance of the extension registry can then search for filters that specify its name, when the application requests extensions for a given extension point.
申请公布号 US2007261066(A1) 申请公布日期 2007.11.08
申请号 US20060379624 申请日期 2006.04.21
申请人 MIYAMOTO HIROYUKI;SHALABI SAMI M 发明人 MIYAMOTO HIROYUKI;SHALABI SAMI M.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址