893894895896897898899
protected Invoker createInvoker() { Class<?> cls = getServiceClass(); if (cls.isInterface()) { return null; } return new FactoryInvoker(new SingletonFactory(getServiceClass())); }
181182183184185186187188189190191
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)
876877878879880881882
745746747748749750751
879880881882883884885
36373839404142
import org.apache.cxf.service.invoker.SingletonFactory; public class JAXWSMethodInvoker extends AbstractJAXWSMethodInvoker { public JAXWSMethodInvoker(final Object bean) { super(new SingletonFactory(bean)); }
49505152535455
import org.apache.cxf.service.invoker.SingletonFactory; public abstract class AbstractJAXWSMethodInvoker extends FactoryInvoker { public AbstractJAXWSMethodInvoker(final Object bean) { super(new SingletonFactory(bean)); }
107108109110111112113114115
} @Override protected Invoker createInvoker() { if (getServiceBean() == null) { return new JAXWSMethodInvoker(new SingletonFactory(getServiceClass())); } return new JAXWSMethodInvoker(getServiceBean()); }
35363738394041