diff options
Diffstat (limited to 'sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java')
-rw-r--r-- | sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java b/sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java new file mode 100644 index 0000000000..49a06a9256 --- /dev/null +++ b/sandbox/wjaniszewski/binding-erlang-runtime/src/test/java/org/apache/tuscany/sca/binding/erlang/testing/ReferenceTestComponentImpl.java @@ -0,0 +1,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; + } + +} |