[ 
https://issues.apache.org/jira/browse/TAMAYA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15771110#comment-15771110
 ] 

ASF subversion and git services commented on TAMAYA-148:
--------------------------------------------------------

Commit 7b9971d81f98c486fb356bff28eacb23af122706 in incubator-tamaya-sandbox's 
branch refs/heads/master from [~anatole]
[ 
https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya-sandbox.git;h=7b9971d
 ]

TAMAYA-210: Added additional resource location logic. Tested and implemented 
especially with OSGI.
TAMAYA-148: Further tests with OSGI/Karaf.


> Review & Verify OSGi Support in Tamaya
> --------------------------------------
>
>                 Key: TAMAYA-148
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-148
>             Project: Tamaya
>          Issue Type: Improvement
>          Components: OSGi
>    Affects Versions: 0.2-incubating
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>             Fix For: 0.3-incubating
>
>
> Need to verify that Tamaya works in OSGi environments.
> The test TestConfigIntegration was used to verify this in the past, but 
> stopped working and was ignored.  Its an indication that OSGi support doesn't 
> work too completely.
> Functionality Outline:
> --------------------------
> * Tamaya should load in an OSGI environment correctly. The SE API should work 
> OOTB. This is achieved by loading an alternate ServiceContext implementation, 
> when OSGI is detected (part of the core module). The implementation does 
> explore the bundle for registered ServiceLoader files and registers them as 
> according OSGI services. On the other hand the ServiceContext is retrieving 
> services using the OSGI Service mechanism, ignoring the standard 
> ServiceLoader mechanism (that does not work).
> * OSGI services can be leveraged by configuring properties with the Tamaya 
> injection API. Hereby evaluation of the values is performed using the OSGI 
> ConfigAdmin service.
> * As third building block Tamaya registers its own ConfigAdmin 
> implementation, with higher priority than the standard one. Tamaya's priority 
> as well if its overriding, or extending the default ConfigAdmin service, is 
> configurable using system properties.
> So given we have the first bullet point working, I will definitively also 
> will help writing further tests for these features ;) The basic mechanism I 
> saw working, hopefully there will no bigger surprise...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to