public DefaultEndpointFactory(BeanFactory beanFactory, String ref) { this.beanFactory = beanFactory; this.ref = ref;
public DefaultEndpointFactory() {
    public DefaultEndpointFactory(BeanFactory beanFactory, String ref) {        this.beanFactory = beanFactory;        this.ref = ref;    }