WojServicesHelper.getDefault().setLocalAsso(localAssociation);
//Cleanup when user change
WojServicesHelper.getDefault().addUserListener(new UserListener() {
public void userChange(String newLogin) {
cache.doCleanup();
localAssociation.clearAll();
}
});
//default value
if(StringUtils.isEmpty(getPreferenceStore().getString(PreferenceConstants.P_USE_HTTPCLIENT))) {
getPreferenceStore().setDefault(PreferenceConstants.P_USE_HTTPCLIENT, true);