diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-24 17:37:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-24 17:37:50 +0000 |
commit | 2a7def70d8cdc99773563088b6cf06f97e2946d9 (patch) | |
tree | 0abc92f66898405cb1c566f6a4f65c90a33ad88e /branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca | |
parent | 516ee3817c64c7dba2846326492813388f33fe7e (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 '')
-rw-r--r-- | branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java | 6 |
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 |