You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2005/11/29 17:17:29 UTC

[jira] Created: (FELIX-38) Improve URL Handlers to work when handler factories are already set

Improve URL Handlers to work when handler factories are already set
-------------------------------------------------------------------

         Key: FELIX-38
         URL: http://issues.apache.org/jira/browse/FELIX-38
     Project: Felix
        Type: Improvement
  Components: Framework  
    Reporter: Richard S. Hall
    Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira