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 2006/11/09 04:28:37 UTC
[jira] Commented: (FELIX-38) Improve URL Handlers to work when
handler factories are already set
[ http://issues.apache.org/jira/browse/FELIX-38?page=comments#action_12448358 ]
Richard S. Hall commented on FELIX-38:
--------------------------------------
Whether more action is required or not probably depends on what you mean by "influenced". If you copied the code directly, then I don't know for sure, but if you just used the same idea, then I believe it is fine.
I will try to take a look at these classes and see if everything looks ok otherwise.
> 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
> Issue Type: Improvement
> Components: Framework
> Reporter: Richard S. Hall
> Priority: Minor
> 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.
-
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