}
@Override
public void shutdownOptions() {
IGlobalOptions options = Implementation.of(IGlobalOptions.class);
ProxyConfig proxy = ProxyConfig.getInstance();
proxy.acquire();
options.setProperty(PROP_PREFIX + "is_enabled", String.valueOf(proxy.isEnabled()));
options.setProperty(PROP_PREFIX + "host", proxy.getHost());
options.setProperty(PROP_PREFIX + "port", String.valueOf(proxy.getPort()));
options.setProperty(PROP_PREFIX + "is_auth_enabled", String.valueOf(proxy.isAuthEnabled()));
options.setProperty(PROP_PREFIX + "username", proxy.getUsername());
String pwd = proxy.getPassword()==null? "": new String(proxy.getPassword());
options.setProperty(PROP_PREFIX + "password", pwd);
proxy.release();
}