summaryrefslogtreecommitdiffstats
path: root/sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java
blob: 919ca6456869fe7fd0c31c9f0655d7c4fec64477 (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
37
38
package org.apache.tuscany.sca.binding.erlang.testing;

import org.osoa.sca.annotations.Reference;

public class ReferenceTestComponentImpl implements ReferenceTestComponent {

    private MboxInterface mboxReference;
    private ServiceInterface moduleReference;
    private ServiceInterface clonedModuleReference;

    @Reference
    public void setMboxReference(MboxInterface mboxReference) {
        this.mboxReference = mboxReference;
    }

    @Reference
    public void setModuleReference(ServiceInterface moduleReference) {
        this.moduleReference = moduleReference;
    }
    
    @Reference
    public void setClonedModuleReference(ServiceInterface clonedModuleReference) {
        this.clonedModuleReference = clonedModuleReference;
    }

    public MboxInterface getMboxReference() {
        return mboxReference;
    }

    public ServiceInterface getModuleReference() {
        return moduleReference;
    }
    
    public ServiceInterface getClonedModuleReference() {
        return clonedModuleReference;
    }

}