From b5551a0e8251121d253e90151aef3f3f3db0714f Mon Sep 17 00:00:00 2001 From: slaws Date: Mon, 4 Oct 2010 09:21:42 +0000 Subject: Correct constructor to run in OSGi environment git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1004158 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk') diff --git a/sca-java-2.x/trunk/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java b/sca-java-2.x/trunk/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java index de14c463d3..3dcdfd3dff 100644 --- a/sca-java-2.x/trunk/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java +++ b/sca-java-2.x/trunk/modules/contribution-resource/src/main/java/org/apache/tuscany/sca/contribution/resource/impl/ArtifactModelResolver.java @@ -28,6 +28,7 @@ import org.apache.tuscany.sca.contribution.Import; import org.apache.tuscany.sca.contribution.processor.ProcessorContext; import org.apache.tuscany.sca.contribution.resolver.ModelResolver; import org.apache.tuscany.sca.contribution.resource.ResourceImport; +import org.apache.tuscany.sca.core.FactoryExtensionPoint; /** * A Model Resolver for contribution artifacts. @@ -38,7 +39,7 @@ public class ArtifactModelResolver implements ModelResolver { private Contribution contribution; private Map map = new HashMap(); - public ArtifactModelResolver(Contribution contribution) { + public ArtifactModelResolver(Contribution contribution, FactoryExtensionPoint modelFactories) { this.contribution = contribution; } -- cgit v1.2.3