Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to obtain instances of IProxyService
How to obtain instances of IProxyService [message #692575] Mon, 04 July 2011 18:56
Paul Glezen is currently offline Paul GlezenFriend
Messages: 60
Registered: July 2009
I've written a Run Configuration launcher that for code that invokes HTTP calls through a
SOCKS server. Since the launched process is not part of the workbench process, it does
not inherit the network proxy settings of the workbench. I'd like to communicate those
through the launch process, but I'm not sure how to get at them.

The indicates that instances may be fetched from
a Bundle instance. The closest method I can find on the OSGi BundleContext API is

ServiceReference getServiceReference(java.lang.String clazz)

I'm not sure if this is the right one or would I would pass as a Class name if it was.
Has anyone else out there worked with this before?
Previous Topic:openFile through browser with custom protocol
Next Topic:Plugin environment programmatically call right click action.
Goto Forum:

Current Time: Fri Aug 07 22:32:03 GMT 2020

Powered by FUDForum. Page generated in 0.01380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top