package testing; import org.osoa.sca.annotations.Reference; import org.osoa.sca.annotations.Scope; @Scope("MODULE") public class ABCDComponentImpl implements ABCDComponent { private ABComponent abComponent; private CDComponent cdComponent; @Reference public void setAb(ABComponent component) { this.abComponent = component; } @Reference public void setCd(CDComponent component) { this.cdComponent = component; } public String getA() { return this.abComponent.getA(); } public String getB() { return this.abComponent.getB(); } public String getC() { return this.cdComponent.getC(); } public String getD() { return this.cdComponent.getD(); } }