Dynamic resolution of dependent components
AssigneeSap SE
InventorsMark Wusthoff, Christoph Hartmann
Life of this patent
Estimating the term…
Abstract
The dynamic resolution of dependent components of a plug-in including, during a runtime of an application, dynamically accessing, for a plug-in invoked by the application, a manifest listing classes capable of providing an interface for the plug-in, and dependent components that provide functionality to the plug-in, and dynamically instantiating a class instance of at least one of the listed classes. Furthermore, the process includes dynamically resolving the listed dependent components, and dynamically loading the plug-in.
Claims18
A computer-implemented method comprising:
- during a runtime of an application, dynamically, for each plug-in of a plurality of invocable plug-ins, individually invoking the plug-ins by:
- accessing a manifest listing classes capable of providing an interface for the plug-in, and dependent components that provide functionality to the plug-in;
- instantiating a class instance of at least one of the listed classes;
- resolving the listed dependent components such that only the dependent components associated with a current invocation of the plug-in are resolved;
- and
- loading the plug-in.
A device comprising a processor configured to:
- during a runtime of an application, dynamically, for each plug-in of a plurality of invocable plug-ins, individually invoking the plug-ins by:
- access a manifest listing classes capable of providing an interface for the plug-in, and dependent components that provide functionality to the plug-in;
- instantiate a class instance of at least one of the listed classes;
- resolve the listed dependent components such that only the dependent components associated with a current invocation of the plug-in are resolved;
- and
- load the plug-in.
A computer program product, tangibly embodied in a machine-readable medium, the computer program product comprising instructions that, when read by a machine, operate to cause data processing apparatus to:
- during a runtime of an application, dynamically, for each plug-in of a plurality of invocable plug-ins, individually invoking the plug-ins by:
- access a manifest listing classes capable of providing an interface for the plug-in, and dependent components that provide functionality to the plug-in;
- instantiate a class instance of at least one of the listed classes;
- resolve the listed dependent components such that only the dependent components associated with a current invocation of the plug-in are resolved;
- and
- load the plug-in.
Dependencies are inferred from the claim text.