From 33bda87bf07c950582e98ad39b0004f4610a99fa Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 29 Jul 2009 14:54:11 +0000 Subject: 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 --- .../apache/tuscany/sca/host/embedded/impl/ReallySmallRuntime.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'branches/sca-java-1.5.1/modules/host-embedded') 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 -- cgit v1.2.3