diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-29 14:54:11 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-29 14:54:11 +0000 |
commit | 33bda87bf07c950582e98ad39b0004f4610a99fa (patch) | |
tree | 643ddbc93de9d0b2f981d5966a572723a7062501 /branches/sca-java-1.5.1/modules/host-embedded/src | |
parent | 5f9098451af11e7aa73d2b1fae8edb14f1f4091a (diff) |
TUSCANY-3177 create the extension point registry earlier so that any programmatic changes to it are reflected in the runtime configuration. Same change as before but in host embedded this time.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.5.1/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.5.1/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java b/branches/sca-java-1.5.1/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java index 55b6afb6f2..34a54e21ad 100644 --- a/branches/sca-java-1.5.1/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java +++ b/branches/sca-java-1.5.1/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 |