felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-31) Implement new Bundle interface methods
Date Fri, 13 Jan 2006 14:07:20 GMT
    [ http://issues.apache.org/jira/browse/FELIX-31?page=comments#action_12362643 ] 

Richard S. Hall commented on FELIX-31:

I integrated Arnaud's changes for Bundle.getSymbolicName() and Bundle.getLastModified(). I
did not integrate the changes related to Bundle.getEntry(). Arnaud's changes would have worked
in, but the approach taken really underscores a difficiency in the current module abstraction
provided by the Module Loader infrastructure.

In short, the Module Loader provides an abstraction of a module, where a module is a collection
of resource sources. These resource sources abstract the module's content. The Bundle.getEntry()
related methods want to access module content, but they [generally] want to access only the
module's raw content, whereas the resource sources represent the module's interpreted content
(i.e., the internal bundle class path with embedded JARs).

Thus, the current module abstraction does not provide an elegant way to implement the Bundle.getEntry()
related methods, without breaking the existing abstraction entirely. I am in the process of
overhauling the module abstraction provided by the Module Loader to alleviate this issue as
well as to clean up some other issues that have existed for a while (such as cleaning up how
the system bundle loads class path classes).

> Implement new Bundle interface methods
> --------------------------------------
>          Key: FELIX-31
>          URL: http://issues.apache.org/jira/browse/FELIX-31
>      Project: Felix
>         Type: New Feature
>   Components: Framework, Specification compliance
>     Reporter: Richard S. Hall
>  Attachments: FELIX-31_ChangeLog, FELIX-31_src_mod.zip
> This issue is described in section 4.3 of the OSGi R4 specification. There are various
methods in the Bundle interface that are not covered by other issues, such as:
>     Bundle.getSymbolicName()
>     Bundle.loadClass()
>     Bundle.getResources(String)
>     Bundle.getEntryPaths(String)
>     Bundle.getEntry(String)
>     Bundle.findEntries(String, String, boolean)
>     Bundle.getLastModified()
> Most of these methods are reasonable simplistic and will involve localized changes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message