str=System.getProperty("jboss.partition.udpGroup"); if(str != null) mcast_addr_name=str;
try { str=System.getProperty("jboss.partition.udpGroup"); if(str != null) mcast_addr_name=str; } catch (SecurityException e) {}
    public boolean setProperties(Properties props) {        String str;        super.setProperties(props);        str=props.getProperty("num_last_ports");        if(str != null) {            num_last_ports=Integer.parseInt(str);            props.remove("num_last_ports");        }        str=props.getProperty("mcast_addr");        if(str != null) {            mcast_addr_name=str;            props.remove("mcast_addr");        }        str=System.getProperty("jboss.partition.udpGroup");        if(str != null)            mcast_addr_name=str;        str=props.getProperty("mcast_port");        if(str != null) {            mcast_port=Integer.parseInt(str);            props.remove("mcast_port");        }        str=System.getProperty("jboss.partition.udpPort");        if(str != null)            mcast_port=Integer.parseInt(str);        str=props.getProperty("ip_mcast");        if(str != null) {            ip_mcast=Boolean.valueOf(str).booleanValue();            props.remove("ip_mcast");        }        str=props.getProperty("ip_ttl");        if(str != null) {            ip_ttl=Integer.parseInt(str);            props.remove("ip_ttl");        }        str=props.getProperty("tos");        if(str != null) {            tos=Integer.parseInt(str);            props.remove("tos");        }        str=props.getProperty("mcast_send_buf_size");        if(str != null) {            mcast_send_buf_size=Integer.parseInt(str);            props.remove("mcast_send_buf_size");        }        str=props.getProperty("mcast_recv_buf_size");        if(str != null) {            mcast_recv_buf_size=Integer.parseInt(str);            props.remove("mcast_recv_buf_size");        }        str=props.getProperty("ucast_send_buf_size");        if(str != null) {            ucast_send_buf_size=Integer.parseInt(str);            props.remove("ucast_send_buf_size");        }        str=props.getProperty("ucast_recv_buf_size");        if(str != null) {            ucast_recv_buf_size=Integer.parseInt(str);            props.remove("ucast_recv_buf_size");        }        str=props.getProperty("null_src_addresses");        if(str != null) {            // null_src_addresses=Boolean.valueOf(str).booleanValue();            props.remove("null_src_addresses");            log.error("null_src_addresses has been deprecated, property will be ignored");        }        if(props.size() > 0) {            log.error("the following properties are not recognized: " + props);            return false;        }        return true;    }