Hi,

There are lot of third party libraries in the carbon platform that we
extend by leveraging their extension points. In most cases, this means that
third-party library loads carbon classes via Java reflection. Refer the
following example.

* Tomcat - Carbon uses the webapp classloader extension point of tomcat
with o.w.c.webapp.mgt.loader.CarbonWebappClassLoader

* Hazecast - Carbon uses Hz distributed maps with
o.w.c.caching.impl.CacheEntry class where Hz itself is a OSGi bundle

So, in a case like this what's the best way to handle this? Do we have to
wrap the original OSGi bundles just to add DynamicImport-Package header?
I'd like to know how OSGi recommends to develop libraries that provide
extension points like above.

Thanks,
KasunG

-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to