[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassLoadingMetaData ease-of-use
adrian@jboss.org
do-not-reply at jboss.com
Wed Feb 27 13:55:14 EST 2008
I just implemented the final major feature required for OSGi.
DYNAMIC
You can now do
| <classloading ...>
| <requirements>
| <package name="foo" dynamic="true"/>
| </requirements>
| </classloading>
|
This is a bit similar to optional, except unlike optional, it will continue
to try to resolve import even after the classloader is constructed.
Since this feature requires the caching and blacklisting to be disabled
the dynamic imports are sorted towards the bottom of the import list
(which looks to me like what is required for OSGi as well).
When it is eventually resolved, then any caching and blacklisting will be re-enabled.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132613#4132613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132613
More information about the jboss-dev-forums
mailing list