[ 
https://issues.apache.org/jira/browse/FELIX-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504538
 ] 

Devajyoti Chakraborty commented on FELIX-38:
--------------------------------------------

Richard,
Thanks a lot, I could finally get the Felix OSGi embedded inside an web 
application deployed on OC4j.  Though I must admit that currently I am trying 
to load the framework bundles for autostart , by providing the 
"file:\\\<absolute path containing the framework bundle> from inside by java 
code while starting the Felix.start(), but is there a way, by which I can point 
a directory to Felix that would monitor continiously monitor for new bundles 
and can start them as well?

By the way, I think, I should move this question to a dicussion to a forum, 
rather than putting it up at this place.

Best Regards,
Devajyoti

> Improve URL Handlers to work when handler factories are already set
> -------------------------------------------------------------------
>
>                 Key: FELIX-38
>                 URL: https://issues.apache.org/jira/browse/FELIX-38
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 0.8.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: FELIX-38.diff.gz
>
>
> The current implementation of URL Handlers expects to be able to set the 
> stream and content handler factories, which can only be set once per JVM. It 
> is possible that a framework instance might not be able to set these 
> factories if it is embedded inside of another application that has already 
> set them. It might be worthwhile to implement a workaround like the one 
> described here:
>     https://bugs.eclipse.org/bugs/show_bug.cgi?id=107909
> In short, it uses reflection to push the framework's factory handlers into 
> the runtime if they are already set and then delegates to them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to