public void resetToFactoryDefault() {
public void resetToFactoryDefault(String dialPlanBeanName) {
    public void resetToFactoryDefault() {        getHibernateTemplate().delete(getEmergencyRouting());        DialPlan dialPlan = getDialPlan();        // unload all rules        getHibernateTemplate().delete(dialPlan);        // Flush the session to cause the delete to take immediate effect.        // Otherwise we can get name collisions on dialing rules when we load the        // default dial plan, causing a DB integrity exception, even though the        // collisions would go away as soon as the session was flushed.        getHibernateTemplate().flush();        dialPlan = (DialPlan) m_beanFactory.getBean("dialPlan");        AutoAttendant operator = getAttendant(AutoAttendant.OPERATOR_ID);        dialPlan.setOperator(operator);        getHibernateTemplate().saveOrUpdate(dialPlan);    }