发明名称 Computer System and a Method of Deploying an Application in a Computer System
摘要 A computer system has a runtime environment (e.g. Java) and a deployment unit (e.g. in a Spring framework layer) arranged to deploy the application into the runtime environment. The application comprises bundles (e.g. OSGi bundles) with manifest metadata having export statements defining exported packages. The deployment unit comprises a receiver unit to receive the bundles, an extractor unit to examine the metadata and extract the export statements, a converter unit to convert each of the export statements into a corresponding import statement, and a creator unit to add a synthetic bundle having the import statements inserted in its metadata. The deployment unit sets a thread context class loader to delegate class loading to a class loader of the synthetic bundle. Thus, at runtime, classes of the application are only loaded when they are explicitly exported packages as defined by the synthetic bundle.
申请公布号 US2009276767(A1) 申请公布日期 2009.11.05
申请号 US20090400866 申请日期 2009.03.10
申请人 SPRINGSOURCE LIMITED 发明人 BRANNEN, JR. SAMUEL HUGH;COLYER ADRIAN MARK;HARROP ROB;NORMINGTON GLYN;WILKINSON ANDY
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址