Hi,
Right now you cannot
access proxy information stored within ServerSettingsPreferencePage from *corona.repository
plugin.
I see three possible ways of doing that:
1)
In ServerSettingsPreferencePage.performOk() method set and store the settings you
need in *corona.repository.Activator. So after a restart, those settings can be
read and used by that plugin. (I don’t like this solution)
2)
We can create a configuration service (like *container.config), which would be available
for other plugins, and would have all global settings stored and “exposed”
for other plugins.
3)
We can use the org.eclipse.corona plugin to store all global settings. Activator
would have to extend Plugin (right now it implements the BundleActivator),
thanks to this it would have its own Preferences where settings could be stored
and accessed by other plugins. Most of the plugins depends on org.eclipse.corona.
Cheers,
Piotr
From:
corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Everitt, Glenn
Sent: Monday, December 11, 2006
11:14 PM
To: Corona development
Subject: [corona-dev]
PreferenceStore for PROXY information
I am exposing a remote IRepository interface using Corona
Web Service support. Is there some way for my RepositoryAdapter to access
the Proxy information stored in the ServerSettingsPreferencePage? I think
PreferenceStores are created per service and I not in the same service.
Is there some way to access this information? I would also like to take
advantage of the proxy mapping support. How can my service use the proxy
mapping support?
Any information would be appreciated.
Thanks
Glenn Everitt
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.