Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] setURLStreamHandlerFactory


Marius,

Unfortunately there is no way of preventing the Framework from calling these methods.  The URL HandlerFactories must be set by the Framework to support the OSGi URLStreamHandlerService.  The eclipse runtime depends on the URLStreamHandlerService to support all of its protocol handlers (i.e. platform: bundleentry: bundleresource: ect.).  Without support for these protocol handlers eclipse will not work.  The URLStreamHandlerService allows plugins within the Framework to dynamically add and remove protocol handlers in the runtime environment.

Thomas Watson



"Marius Gleeson" <platform-core-dev@xxxxxxxxxxxxxx>
Sent by: platform-core-dev-admin@xxxxxxxxxxx

06/17/2004 02:12 AM
Please respond to platform-core-dev

       
        To:        platform-core-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-core-dev] setURLStreamHandlerFactory



Hi there,

Is there any way of stopping the framework from calling the
URL.setURLStreamHandlerFactory(URLStreamHandlerFactory fac) and
URLConnection.setContentHandlerFactory(ContentHandlerFactory fac)
methods ?

I have a tricky situation where I need to launch eclipse from within
another third party app which also calls these methods. Of course when
eclipse tries to set them an Error is thrown and the whole thing
crumbles.

Any ideas?
thanks,
Marius


_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top