summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/scabindingmapper
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-20 20:55:39 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-20 20:55:39 +0000
commit792e596a1a75c5f246a4e314fba20947e18640e1 (patch)
tree2536df20c2b35c3c9d87b263baae312de5f08438 /sca-java-2.x/trunk/testing/itest/scabindingmapper
parentcca68a5ef9d90b383c37841cfcce0279a2bb4c56 (diff)
Allows the distributed flag to be overriden
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1173364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/scabindingmapper')
-rw-r--r--sca-java-2.x/trunk/testing/itest/scabindingmapper/src/main/java/itest/scabindingmapper/MyMapper.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/main/java/itest/scabindingmapper/MyMapper.java b/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/main/java/itest/scabindingmapper/MyMapper.java
index 77c7cc0cbe..8a8865889d 100644
--- a/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/main/java/itest/scabindingmapper/MyMapper.java
+++ b/sca-java-2.x/trunk/testing/itest/scabindingmapper/src/main/java/itest/scabindingmapper/MyMapper.java
@@ -38,6 +38,7 @@ public class MyMapper extends DefaultSCABindingMapper {
public MyMapper(ExtensionPointRegistry registry, Map<String, String> attributes) {
super(registry, attributes);
+ alwaysDistributed = true;
}
@Override
@@ -68,13 +69,4 @@ public class MyMapper extends DefaultSCABindingMapper {
return bindingType;
}
- /*
- * Probably others don't need to override this is they have a remotable endpoint registry, this itest
- * doesn't so just fiddle the test
- */
- @Override
- protected boolean isDistributed() {
- return true;
- }
-
}