diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-04 06:05:21 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-04 06:05:21 +0000 |
commit | 8d4370a11f701a919715e7b9df1f69ca71574c3a (patch) | |
tree | f9e2e2f653d61b0fc38f2cb3b4e43f0ea37c228f /java/sca/modules/core-spi/src/main | |
parent | cc1d347487ed1badb0eb3da1201acfad71714f81 (diff) |
Refactor the tuscany-core module to move private classes out of the SPI packages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@723218 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core-spi/src/main')
2 files changed, 7 insertions, 1 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/context/RequestContextFactory.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/context/RequestContextFactory.java index 546757c766..d4952adde9 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/context/RequestContextFactory.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/context/RequestContextFactory.java @@ -18,6 +18,7 @@ */ package org.apache.tuscany.sca.context; +import org.apache.tuscany.sca.runtime.RuntimeComponent; import org.osoa.sca.RequestContext; /** @@ -29,5 +30,5 @@ public interface RequestContextFactory { /** * @return An instance of RequestContext for the current invocation */ - RequestContext createRequestContext(); + RequestContext createRequestContext(RuntimeComponent component); } diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java index 801bb9e294..10f3c19550 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java @@ -25,6 +25,8 @@ import java.io.Writer; import org.apache.tuscany.sca.assembly.Binding; import org.apache.tuscany.sca.assembly.ComponentService; +import org.apache.tuscany.sca.context.PropertyValueFactory; +import org.apache.tuscany.sca.core.ExtensionPointRegistry; import org.osoa.sca.CallableReference; import org.osoa.sca.ComponentContext; import org.osoa.sca.ServiceReference; @@ -101,4 +103,7 @@ public interface RuntimeComponentContext extends ComponentContext { * @return */ <B> ServiceReference<B> createSelfReference(Class<B> businessInterface, ComponentService service); + + ExtensionPointRegistry getExtensionPointRegistry(); + void setPropertyValueFactory(PropertyValueFactory propertyValueFactory); } |