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

import org.osoa.sca.annotations.Reference;

public class ReferenceTestComponentImpl implements ReferenceTestComponent {

    private MboxInterface mboxReference;
    private ServiceTestComponent moduleReference;

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

    @Reference
    public void setModuleReference(ServiceTestComponent moduleReference) {
        this.moduleReference = moduleReference;
    }

    public MboxInterface getMboxReference() {
        return mboxReference;
    }

    public ServiceTestComponent getModuleReference() {
        return moduleReference;
    }

}