750751752753754755756
protected Invoker createInvoker() { Class<?> cls = getServiceClass(); if (cls.isInterface()) { return null; } return new FactoryInvoker(new SingletonFactory(getServiceClass())); }
187188189190191192193194195196197
break; case Spring: f = new SpringBeanFactory(scope.args()[0]); break; default: f = new SingletonFactory(cls); break; } } else { try { f = (Factory)scope.factoryClass().getConstructor(Class.class, String[].class)
878879880881882883884
699700701702703704705
protected Invoker createInvoker() { Class<?> cls = getServiceClass(); if (cls.isInterface()) { return null; } return new JAXWSMethodInvoker(new SingletonFactory(getServiceClass())); }
36373839404142
import org.apache.cxf.service.invoker.SingletonFactory; public class JAXWSMethodInvoker extends AbstractJAXWSMethodInvoker { public JAXWSMethodInvoker(final Object bean) { super(new SingletonFactory(bean)); }
118119120121122123124125126
} @Override protected Invoker createInvoker() { if (getServiceBean() == null) { return new JAXWSMethodInvoker(new SingletonFactory(getServiceClass())); } return new JAXWSMethodInvoker(getServiceBean()); }
49505152535455
import org.apache.cxf.service.invoker.SingletonFactory; public abstract class AbstractJAXWSMethodInvoker extends FactoryInvoker { public AbstractJAXWSMethodInvoker(final Object bean) { super(new SingletonFactory(bean)); }
265266267268269270271272273
} } protected Invoker createInvoker() { if (getServiceBean() == null) { return new FactoryInvoker(new SingletonFactory(getServiceClass())); } return new BeanInvoker(getServiceBean()); }
951952953954955956957