Mvn,  I clearly misinterpreted that second line..  "*The names of resources
visible to a bundle wiring's parent class loader, such as the bootstrap
class loader, must not be included in the result."*
*
*
*Sorry,*
*- Ray*


On Fri, Nov 9, 2012 at 12:39 PM, Raymond Auge <[email protected]>wrote:

> Hello All,
>
> Regarding the definition of BundleWiring.listResources
>
> http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/wiring/BundleWiring.html#listResources(java.lang.String,
> java.lang.String, int)
>
> in particular the paragraph:
>
>   *"Only the resource names for resources in bundle wirings will be
> returned. The names of resources visible to a bundle wiring's parent class
> loader, such as the bootstrap class loader, must not be included in the
> result."*
>
> It would seem that consideration is made for fragments which actually
> contain the classes.
>
> However, when a fragment (extension bundle) is used to extend the exported
> packages of the system.bundle, but doesn't contain the classes (i.e. a
> fragment with only a manifest and a Export-Package header), this
> consideration fails even though these are clearly valid bundle wirings.
>
> Is this the expected behaviour?
>
> --
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> <http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay,
> Inc.* <http://www.liferay.com>  <https://twitter.com/#!/liferay>
>
> ---
>
> 24-25 October 2012 |* Liferay **Spain Symposium* | 
> liferay.com/spain2012<http://www.liferay.com/spain2012>
>
> 16 November 2012 |* Liferay **Italy Symposium* | 
> liferay.com/italy2012<http://www.liferay.com/italy2012>
>
>
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
<http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay,
Inc.* <http://www.liferay.com>  <https://twitter.com/#!/liferay>

---

24-25 October 2012 |* Liferay **Spain Symposium* |
liferay.com/spain2012<http://www.liferay.com/spain2012>

16 November 2012 |* Liferay **Italy Symposium* |
liferay.com/italy2012<http://www.liferay.com/italy2012>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to