发明名称 System and method for run time dependency resolution
摘要 A system and method of run time dependency resolution includes loading one or more dependency descriptors from an archive, determining that a class is to be loaded at run-time, selecting a first dependency descriptor from the one or more dependency descriptors based on information associated with the class, requesting the class from a dependency repository based on information associated with the class and information associated with the first dependency descriptor, receiving the class from the dependency repository, and loading the class. In some examples, the system and method further include determining a package for the dependency repository, loading the package, extracting a class file from the package, splitting the class file into one or more fragments, tagging each of the one or more fragments with information associated with the class file and the package, and transmitting each of the one or more tagged fragments to the dependency repository.
申请公布号 US9298448(B2) 申请公布日期 2016.03.29
申请号 US201313898900 申请日期 2013.05.21
申请人 RED HAT, INC. 发明人 Eliá{hacek over (s)} Filip;Nguyen Filip
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Haynes and Boone, LLP 代理人 Haynes and Boone, LLP
主权项 1. A method of run-time dependency resolution, the method comprising: loading one or more dependency descriptors from an archive file used to distribute a software project; determining that a class is to be loaded at run-time; selecting a first dependency descriptor from the one or more dependency descriptors based on information associated with the class; requesting the class from a dependency repository based on information associated with the class and information associated with the first dependency descriptor; receiving the class from the dependency repository; loading the class; determining a package for the dependency repository; loading the package; extracting a class file from the package; splitting the class file into one or more fragments based on a predetermined fragment size in bytes; tagging each of the one or more fragments with information associated with the class file and the package; and transmitting each of the one or more tagged fragments to the dependency repository.
地址 Raleigh NC US