09-28-2011, 08:58 AM,
(This post was last modified: 09-28-2011, 09:23 AM by alchimiste.)
|
|||||
|
|||||
RE: importされたパッケージ
(08-19-2011, 09:02 AM)cbarber Wrote: Packages that are loaded using the 'import' or 'import-package' are stored in a shared memory area so that they can be used by multiple applets. Such a package will not be unloaded from memory until there are no remaining applets that have imported it. Flushing of unused packages occurs after an applet finishes loading, thus reloading an applet will not flush a package from memory unless the applet has been changed to no longer import the package. But is it possible to reload a package that has been loaded already without restarting an applet? I found from Curl6.0, packages can be reloaded by dynamically importing manifest and package. It' very useful in applications which has many menu, and each of those menu is a independent manifest. Here is a sample code: Code: let mf:ComponentManifest = {with-file-caching-style FileCachingStyle.resynchronize do I'm using this code for loading menu applications in the main appication with OCC |
|||||
« Next Oldest | Next Newest »
|
Messages In This Thread |
importされたパッケージ - by 森口 慶紀 - 08-17-2011, 05:28 PM
RE: importされたパッケージ - by nmyzk - 08-18-2011, 05:31 PM
RE: importされたパッケージ - by cbarber - 08-19-2011, 09:02 AM
RE: importされたパッケージ - by alchimiste - 09-28-2011, 08:58 AM
RE: importされたパッケージ - by 森口 慶紀 - 09-13-2011, 07:57 AM
|
Users browsing this thread:
3 Guest(s)
3 Guest(s)