|
Lines 18-23
Link Here
|
| 18 |
* David McKnight (IBM) - [227406] [dstore] DStoreFileService must listen to buffer size preference changes |
18 |
* David McKnight (IBM) - [227406] [dstore] DStoreFileService must listen to buffer size preference changes |
| 19 |
* David McKnight (IBM) - [228334][api][breaking][dstore] Default DataStore connection timeout is too short |
19 |
* David McKnight (IBM) - [228334][api][breaking][dstore] Default DataStore connection timeout is too short |
| 20 |
* David McKnight (IBM) - [233160] [dstore] SSL/non-SSL alert are not appropriate |
20 |
* David McKnight (IBM) - [233160] [dstore] SSL/non-SSL alert are not appropriate |
|
|
21 |
* David McKnight (IBM) - [245918] [dstore] Customization of connection timeout does not work |
| 21 |
*******************************************************************************/ |
22 |
*******************************************************************************/ |
| 22 |
|
23 |
|
| 23 |
package org.eclipse.rse.internal.connectorservice.dstore; |
24 |
package org.eclipse.rse.internal.connectorservice.dstore; |
|
Lines 52-64
Link Here
|
| 52 |
public void start(BundleContext context) throws Exception |
53 |
public void start(BundleContext context) throws Exception |
| 53 |
{ |
54 |
{ |
| 54 |
super.start(context); |
55 |
super.start(context); |
| 55 |
|
56 |
|
| 56 |
initializeDefaultPreferences(); |
57 |
// for dummy preference store - to activate the pref initializer for dstore that uses RSEUIPlugin prefs |
|
|
58 |
IPreferenceStore store = getDefault().getPreferenceStore(); |
| 59 |
|
| 60 |
// this is just a token attempt at getting a pref (that doesn't exist to trigger the init |
| 61 |
store.getDefaultInt(IUniversalDStoreConstants.RESID_PREF_DO_KEEPALIVE); |
| 57 |
} |
62 |
} |
| 58 |
|
63 |
|
| 59 |
|
64 |
|
|
|
65 |
|
| 66 |
|
| 60 |
public void initializeDefaultPreferences() { |
67 |
public void initializeDefaultPreferences() { |
| 61 |
IPreferenceStore store = RSEUIPlugin.getDefault().getPreferenceStore(); |
68 |
IPreferenceStore store = RSEUIPlugin.getDefault().getPreferenceStore(); |
|
|
69 |
//IPreferenceStore store = getDefault().getPreferenceStore(); |
| 62 |
//Preferences store = RSECorePlugin.getDefault().getPluginPreferences(); |
70 |
//Preferences store = RSECorePlugin.getDefault().getPluginPreferences(); |
| 63 |
|
71 |
|
| 64 |
store.setDefault(IUniversalDStoreConstants.RESID_PREF_SOCKET_TIMEOUT, IDStoreDefaultPreferenceConstants.DEFAULT_PREF_SOCKET_TIMEOUT); |
72 |
store.setDefault(IUniversalDStoreConstants.RESID_PREF_SOCKET_TIMEOUT, IDStoreDefaultPreferenceConstants.DEFAULT_PREF_SOCKET_TIMEOUT); |