summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:39:15 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:39:15 +0000
commitec429ffd2ce49aee0480f2043cf2cb34b81d88e8 (patch)
tree1e8d35c8ef4bfeeb552bd03a69db2e37df46e85e
parent2a7def70d8cdc99773563088b6cf06f97e2946d9 (diff)
TUSCANY-3178 read the validation schema extension point from the extension point registry rather than creating a local copy
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797573 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
index 1111558c60..0f5aedfd75 100644
--- a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
+++ b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntimeBuilder.java
@@ -191,7 +191,7 @@ public class ReallySmallRuntimeBuilder {
modelFactories.addFactory(inputFactory);
// Create a validation XML schema extension point
- ValidationSchemaExtensionPoint schemas = new DefaultValidationSchemaExtensionPoint();
+ ValidationSchemaExtensionPoint schemas = registry.getExtensionPoint(ValidationSchemaExtensionPoint.class);
// Create a validating XML input factory
XMLInputFactory validatingInputFactory = new DefaultValidatingXMLInputFactory(inputFactory, schemas, monitor);