blob: ef979297b55fb86339f0b7c2e0ce6d15db99ee22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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();
}
}
|