Class file application sharing method and a device, and computing equipment
The invention discloses a Class file sharing method and device and computing equipment which are executed in a first application without a shared Class file, and the Class file sharing method comprises the steps of loading a Class file and intercepting an exception generated when the Class file is l...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a Class file sharing method and device and computing equipment which are executed in a first application without a shared Class file, and the Class file sharing method comprises the steps of loading a Class file and intercepting an exception generated when the Class file is loaded by a first application; judging whether the loaded Class file is a shared Class file or not; and if yes, searching and obtaining the shared Class file from a second application containing the shared Class file, so that the first application calls the shared Class file to generate an instance.The Class file can be called among a plurality of applications, and the shared Class file does not participate in the process of generating the installation package, so that the size of the application installation package is reduced. When the shared Class file is loaded, only one shared Class file can be loaded, calling of multiple applications for the shared Class file is met, the loading speedis increased, memory occup |
---|