发明名称 Modifying a middleware
摘要 A method for modifying a middleware shared by multiple tenants by preparing a data packet comprising modification information and tenant information, the modification information comprising information of a specific class to be modified in the middleware as well as modification content for the specific class, the tenant information indicating a specific tenant of the plurality of tenants to which the modification content is directed; and in response to acquisition of the data packet: modifying the specific class in the middleware in runtime according to the modification information to create a modified specific class; and applying the modified content only to the specific tenant. When multiple tenants share a same middleware, different versions of the middleware may be provided for respective tenants, without affecting the use by other tenants, thereby satisfying sharing and customization requirements of each of the multiple tenants.
申请公布号 US9304742(B2) 申请公布日期 2016.04.05
申请号 US201414472556 申请日期 2014.08.29
申请人 International Business Machines Corporation 发明人 Cai JunJie;Li San Hong;Lv Jing;Gao Wei Wei;Lei Chen
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 Yudell Isidore PLLC 代理人 Isidore Eustace P.;Yudell Isidore PLLC
主权项 1. A method for modifying a middleware shared by a plurality of tenants, the method comprising: obtaining a customization request of a specific tenant of the plurality of tenants, wherein the customization request indicates one or more modifications to the middleware for only the specific tenant, wherein each tenant of the plurality of tenants all share the middleware and run one or more respective user applications on the middleware; preparing a data packet comprising modification information and tenant information that identifies the specific tenant, the modification information comprising information of a specific class to be modified in the middleware as well as modification content for the specific class, wherein the modification content comprises one of: a content of difference that comprises modifications to be directly applied to the specific class and an updated version of the specific class; storing the data packet in a predetermined position that is readable by a runtime environment according to a prior agreement; and in response to detecting a load of the specific class in runtime: retrieving the data packet from the predetermined position via the runtime environment; andmodifying, via the runtime environment, the specific class in the middleware during loading for only the specific tenant according to the modification information to create a modified specific class without modifying program code in the original version of the specific class.
地址 Armonk NY US
您可能感兴趣的专利