Invention Grant
US09535726B2 Reverse dependency injection in a system with dynamic code loading 有权
在具有动态代码加载的系统中反向依赖注入

Reverse dependency injection in a system with dynamic code loading
Abstract:
Embodiments are directed to utilizing reverse dependency injection for managing bootstrapping of applications in web browser and mobile environments. By using reverse dependency injection, embodiments enable a component to declare that it is a “dependency of” another component in a visual analyzer application. This ensures that the dependencies are loaded before the other component is loaded, thereby minimizing delays when a user starts up an application. In some embodiments, information identifying a plugin to be loaded can be received. Embodiments can determine configuration information for the plugin where the configuration information includes both forward and reverse dependencies. Embodiments may generate, based on the configuration information, a data structure that represents the forward and reverse dependencies. Embodiments may analyze the data structure to determine an ordered list of loadings. Some embodiments may load the individual components per the ordered list of loadings and indicate that the plugin is ready for execution.
Public/Granted literature
Information query
Patent Agency Ranking
0/0