felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-3292) Allow passing of resource properties to a resource handler for use with resource adapters.
Date Mon, 02 Jan 2012 10:00:31 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marcel Offermans reassigned FELIX-3292:

    Assignee: Marcel Offermans
> Allow passing of resource properties to a resource handler for use with resource adapters.
> ------------------------------------------------------------------------------------------
>                 Key: FELIX-3292
>                 URL: https://issues.apache.org/jira/browse/FELIX-3292
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager
>            Reporter: Xander Uiterlinden
>            Assignee: Marcel Offermans
>              Labels: patch
>         Attachments: resourcepatch.patch
> Currently we're using the dependency manager in our project. A feature we extensively
use is the resource adapter.
> The resource adapter service gets access to a resource through the abstraction of a URL.
This is a nice abstraction
> but raises challenges whenever an implementation requires more properties of the resource,
e.g. the last modification date
> or the encoding. 
> At the moment we're working our way around it by creating implementing a custom URLHandler.

> It would be nicer if the resource adapter could be provided with a set of optional properties.
My suggestion would
> be to extend the added(URL resource) method of the ResourceHandler with an additional
argument holding a
> untyped set of properties. When provided these will be injected into the resource adapter
> I'll attach a patch to this issue with the implementation of this feature.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message