发明名称 Configuring an application program in a computer system
摘要 A computer system which configures an application program to execute with one or more resources is disclosed. The computer system includes a configuration unit to configure the application program for deployment into a runtime execution environment. The application program is divided into a plurality of bundles and the configuration unit examines the bundles individually to determine a bundle environment for each bundle based on dependencies of that bundle on the one or more resources. The configuration unit selects one or more conventions, which provide templates of configuration for a relevant resource, according to the determined bundle environment, and the configuration unit automatically generates a system configuration from the selected conventions and adds the generated system configuration to the application program, whereby the dependencies of the application program upon the resources are configured based on at least the automatically generated system configuration.
申请公布号 US8805804(B2) 申请公布日期 2014.08.12
申请号 US200912609297 申请日期 2009.10.30
申请人 Pivotal Software, Inc. 发明人 Harrop Rob
分类号 G06F17/00;G06F7/00 主分类号 G06F17/00
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A computer system comprising: one or more processors; a configuration unit to configure the application program for deployment into a runtime execution environment, the configuration unit including a plurality of pre-determined conventions arranged into a plurality of convention sets, each convention set being associated with a respective resource of the computer system, each resource being a library, each convention providing a fragment of a configuration and being associated with one or more triggers for selecting the respective convention; a non-transitory computer readable medium storing programming instructions operable, when executed, to cause the one or more processors to perform operations comprising: dividing the application program into a plurality of bundles, each bundle including one or more classes of computer code and forming a portion of the application program;examining, by the configuration unit, each of the bundles individually, including determining declared class dependency in each bundle;determining, by the configuration unit and based on a result of the examining, that a class dependency of a first bundle of the plurality of bundles matches one or more triggers each being associated with a respective convention;selecting, by the configuration unit, the one or more conventions associated with the one or more matching triggers; andautomatically generating a system configuration from the selected one or more conventions and configuring the application program using the system configuration, including selecting resources corresponding to each convention set that includes a selected convention, whereby dependencies of the application program upon the resources are configured based on at least the automatically generated system configuration.
地址 Palo Alto CA US