diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 05:12:40 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-12 05:12:40 +0000 |
commit | b289688fc6dbb7d4747c0c2bb935e8ca5cf8616c (patch) | |
tree | 1592781a6f3ad7a9d3e96011f90e946f2a7d5e41 /branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org | |
parent | 38ea64f0a5a6a796a7c39048f0af793a46e61e73 (diff) |
TUSCANY-3288 - Special handling of arrays to properly create the JAXB Context and minor enhancement on the Atom Binding to avoid data copy
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824229 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org')
-rw-r--r-- | branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java b/branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java index 91072067ea..99fa3a2e73 100644 --- a/branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java +++ b/branches/sca-java-1.x/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingInvoker.java @@ -40,6 +40,7 @@ import org.apache.commons.httpclient.methods.StringRequestEntity; import org.apache.tuscany.sca.binding.atom.collection.NotFoundException; import org.apache.tuscany.sca.data.collection.Entry; import org.apache.tuscany.sca.interfacedef.Operation; +import org.apache.tuscany.sca.invocation.DataExchangeSemantics; import org.apache.tuscany.sca.invocation.Invoker; import org.apache.tuscany.sca.invocation.Message; import org.osoa.sca.ServiceRuntimeException; @@ -49,7 +50,7 @@ import org.osoa.sca.ServiceRuntimeException; * * @version $Rev$ $Date$ */ -class AtomBindingInvoker implements Invoker { +class AtomBindingInvoker implements Invoker, DataExchangeSemantics { private static final Factory abderaFactory = Abdera.getNewFactory(); private static final Parser abderaParser = Abdera.getNewParser(); @@ -74,6 +75,11 @@ class AtomBindingInvoker implements Invoker { // by specific invoker subclasses throw new UnsupportedOperationException(operation.getName()); } + + public boolean allowsPassByReference() { + return true; + } + /** * Get operation invoker |