diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-14 22:06:31 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-14 22:06:31 +0000 |
commit | 69f2050e34ee05b93e3141cb7b13ab0e072bc340 (patch) | |
tree | 1b64cbcda872510d70a55432f0de2ab5a49c45fb /branches/sca-equinox/samples/databinding-echo | |
parent | 2f93b179e29713d30ad55608e605f5cddf150691 (diff) |
Remove SCA prefix from Defintions model
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@704715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/samples/databinding-echo')
3 files changed, 9 insertions, 10 deletions
diff --git a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Echo.java b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Echo.java index 25ecc90454..73da41b55e 100644 --- a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Echo.java +++ b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Echo.java @@ -18,15 +18,15 @@ */ package dbecho; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; +import org.apache.tuscany.sca.databinding.annotation.DataType; import org.osoa.sca.annotations.Remotable; /** * @version $Rev$ $Date$ */ -@DataBinding("org.w3c.dom.Node") @Remotable public interface Echo { - Object echo(Object msg); + @DataType("org.w3c.dom.Node") + Object echo(@DataType("org.w3c.dom.Node") Object msg); } diff --git a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface1.java b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface1.java index 70b450e358..81d3581f85 100644 --- a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface1.java +++ b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface1.java @@ -18,15 +18,17 @@ */ package dbecho; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; +import org.apache.tuscany.sca.databinding.annotation.DataType; import org.osoa.sca.annotations.Remotable; /** * @version $Rev$ $Date$ */ -@DataBinding("java.lang.String") @Remotable public interface Interface1 { - String call(String msg); - String call1(String msg); + @DataType("java.lang.String") + String call(@DataType("java.lang.String") String msg); + + @DataType("java.lang.String") + String call1(@DataType("java.lang.String") String msg); } diff --git a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface2.java b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface2.java index b62f1f425d..543d51cb95 100644 --- a/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface2.java +++ b/branches/sca-equinox/samples/databinding-echo/src/main/java/dbecho/Interface2.java @@ -20,17 +20,14 @@ package dbecho; import javax.xml.stream.XMLStreamReader; -import org.apache.tuscany.sca.databinding.annotation.DataBinding; import org.osoa.sca.annotations.Remotable; import org.w3c.dom.Node; /** * @version $Rev$ $Date$ */ -@DataBinding("org.w3c.dom.Node") @Remotable public interface Interface2 { Node call(Node msg); - @DataBinding("javax.xml.stream.XMLStreamReader") XMLStreamReader call1(XMLStreamReader msg); } |