353637383940414243
* * @author xfournet */ public class WS1Impl implements WS1 { public BeanA getBeanA() { BeanA a = new BeanA(); a.setPropA("valueA"); return a; }
303132333435363738
import org.apache.cxf.aegis.inheritance.ws1.WS1ExtendedException; import org.apache.cxf.aegis.services.SimpleBean; public class WS1Impl implements WS1 { public BeanA getBeanA() { BeanA a = new BeanA(); a.setPropA("valueA"); return a; }
22232425262728
// beans @Bean public BeanB beanB() { beanFactory.getBean("beanA"); return new BeanB(); }
118119120121122123124125126127128
// assertEquals(m_localWS1.getResultBean(), m_remoteWS1.getResultBean()); } public void testMapInheritance() { BeanA beanA = new BeanA(); BeanB beanB = new BeanB(); Map m = new HashMap(); m.put(beanA, beanB);
202122232425262728
public class WS1Impl implements WS1 { public BeanA getBeanA() { BeanA a = new BeanA(); a.setPropA("valueA"); return a; }