public Gateway newGateway(String factoryId) { Gateway gateway = (Gateway) m_beanFactory.getBean(factoryId, Gateway.class);
public Gateway newGateway(PhoneModel model) { Gateway gateway = (Gateway) m_beanFactory.getBean(model.getBeanId(), Gateway.class); gateway.setBeanId(model.getBeanId()); gateway.setModelId(model.getModelId());
    public Gateway newGateway(String factoryId) {        Gateway gateway = (Gateway) m_beanFactory.getBean(factoryId, Gateway.class);        return gateway;    }