diff options
Diffstat (limited to 'sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java')
-rw-r--r-- | sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java b/sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java index 15a325aefb..6082aedc55 100644 --- a/sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java +++ b/sca-java-2.x/contrib/modules/binding-foo-runtime/src/main/java/org/apache/tuscany/sca/binding/foo/FooBindingFactory.java @@ -19,9 +19,14 @@ package org.apache.tuscany.sca.binding.foo;
+
/**
- * Factory to create FooBinding instances
+ * Factory implementation to create Foo Models
*/
-public interface FooBindingFactory {
- FooBinding createFooBinding();
+public class FooBindingFactory {
+
+ public FooBinding createFooBinding() {
+ return new FooBinding();
+ }
+
}
|