summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:37:50 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:37:50 +0000
commit2a7def70d8cdc99773563088b6cf06f97e2946d9 (patch)
tree0abc92f66898405cb1c566f6a4f65c90a33ad88e /branches
parent516ee3817c64c7dba2846326492813388f33fe7e (diff)
TUSCANY-3177 create the extension point registry earlier so that any programmatic changes to it are reflected in the runtime configuration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java
index 55b6afb6f2..34a54e21ad 100644
--- a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java
+++ b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java
@@ -99,13 +99,15 @@ public class ReallySmallRuntime {
public ReallySmallRuntime(ClassLoader classLoader) {
this.classLoader = classLoader;
+
+ // Create our extension point registry
+ registry = new DefaultExtensionPointRegistry();
}
public void start() throws ActivationException {
long start = System.currentTimeMillis();
- // Create our extension point registry
- registry = new DefaultExtensionPointRegistry();
+
UtilityExtensionPoint utilities = registry.getExtensionPoint(UtilityExtensionPoint.class);
// Get work scheduler