David Lloyd [
http://community.jboss.org/people/david.lloyd%40jboss.com] created the
discussion
"Re: Lazy modules resolving / linking"
To view the discussion, visit:
http://community.jboss.org/message/563668#563668
--------------------------------------------------------------
OSGi dynamic import is implemented using a "fallback loader", which basically
gets queried whenever a class or package is unknown to the loader.
You could use the same idea for lazy loading. In your fallback loader, attempt to load
the corresponding module. If it succeeds, add it as a dependency to the Module, and then
relink the module; then retry the load.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563668#563668]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]