if(properties.getProperty("net.slp.sflog").equalsIgnoreCase("true")) { slpLog = sfGetLog(properties.getProperty("net.slp.logfile")); da.setSFLog(slpLog); }
    public void sfDeploy() throws SmartFrogException, RemoteException {        super.sfDeploy();        // get properties        Properties properties = new Properties();        String s = (String)sfResolve("slp_config_interface");        if(!s.equals("")) properties.setProperty("net.slp.interface", s);        properties.setProperty("net.slp.useScopes", sfResolve("slp_config_scope_list").toString());        properties.setProperty("net.slp.mtu", sfResolve("slp_config_mtu").toString());        properties.setProperty("net.slp.port", sfResolve("slp_config_port").toString());        properties.setProperty("net.slp.multicastAddress", sfResolve("slp_config_mc_addr").toString());        properties.setProperty("net.slp.debug", sfResolve("slp_config_debug").toString());        properties.setProperty("net.slp.logErrors", sfResolve("slp_config_log_errors").toString());        properties.setProperty("net.slp.logMsg", sfResolve("slp_config_log_msg").toString());        properties.setProperty("net.slp.logfile", sfResolve("slp_config_logfile").toString());                // create DA.        try {            da = new DirectoryAgent(properties);        }catch(ServiceLocationException sle) {            throw (SmartFrogException)SmartFrogException.forward(sle);        }    }