protected Properties getSlpConfiguration(Context context) {
protected Properties getSlpConfiguration(Context context) throws SmartFrogResolutionException {
    protected Properties getSlpConfiguration(Context context) {        Properties properties = new Properties( SLPDefaults.getDefaultProperties() );        // try to find configuration        ComponentDescription descr = null;        try {            descr = (ComponentDescription)target.sfResolve(refConfig);        }catch(SmartFrogResolutionException ex) {            return properties; // use defaults...        }                // read configuration...        try {            String s = (String)sfResolve(descr, "slp_config_interface");            if(!s.equals("")) properties.setProperty("net.slp.interface", s);            properties.setProperty("net.slp.multicastMaximumWait", sfResolve(descr, "slp_config_mc_max").toString());            properties.setProperty("net.slp.randomWaitBound", sfResolve(descr, "slp_config_rnd_wait").toString());            properties.setProperty("net.slp.initialTimeout", sfResolve(descr, "slp_config_retry").toString());            properties.setProperty("net.slp.unicastMaximumWait", sfResolve(descr, "slp_config_retry_max").toString());            properties.setProperty("net.slp.DAActiveDiscoveryInterval", sfResolve(descr, "slp_config_da_find").toString());            properties.setProperty("net.slp.DAAddresses", sfResolve(descr, "slp_config_daAddresses").toString());            properties.setProperty("net.slp.useScopes", sfResolve(descr, "slp_config_scope_list").toString());            properties.setProperty("net.slp.mtu", sfResolve(descr, "slp_config_mtu").toString());            properties.setProperty("net.slp.port", sfResolve(descr, "slp_config_port").toString());            properties.setProperty("net.slp.locale", sfResolve(descr, "slp_config_locale").toString());            properties.setProperty("net.slp.multicastAddress", sfResolve(descr, "slp_config_mc_addr").toString());            properties.setProperty("net.slp.debug", sfResolve(descr, "slp_config_debug").toString());            properties.setProperty("net.slp.logErrors", sfResolve(descr, "slp_config_log_errors").toString());            properties.setProperty("net.slp.logMsg", sfResolve(descr, "slp_config_log_msg").toString());            properties.setProperty("net.slp.logfile", sfResolve(descr, "slp_config_logfile").toString());        }catch(Exception e) {            // ignored...            System.out.println(e.toString());            e.printStackTrace();        }                return properties;    }