diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-05-30 14:42:38 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-05-30 14:42:38 +0000 |
| commit | 9209d6833644d57e55a1f8c897299dd4d02cd7a3 (patch) | |
| tree | b1f7d7ac99aab9b1ac5e31b98eb054c9ac1ea9a5 /java/broker/src | |
| parent | ee5af590cb289157d8c4100c7995e5d7a70a90b4 (diff) | |
| download | qpid-python-9209d6833644d57e55a1f8c897299dd4d02cd7a3.tar.gz | |
QPID-1103 :Changed VMTestCase to allow the creation of InVM brokers based on a configuration file. Updated ApplicationRegistry as it was not correctly utilising the set configuration and always using AR 1.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@661739 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src')
| -rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/registry/ApplicationRegistry.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/registry/ApplicationRegistry.java b/java/broker/src/main/java/org/apache/qpid/server/registry/ApplicationRegistry.java index 455983c6d8..b14884b717 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/registry/ApplicationRegistry.java +++ b/java/broker/src/main/java/org/apache/qpid/server/registry/ApplicationRegistry.java @@ -189,7 +189,7 @@ public abstract class ApplicationRegistry implements IApplicationRegistry _logger.error("Unable to instantiate configuration class " + instanceType + " - ensure it has a public default constructor"); throw new IllegalArgumentException("Unable to instantiate configuration class " + instanceType + " - ensure it has a public default constructor", e); } - Configurator.configure(instance); + Configurator.configure(instance, _configuration); _configuredObjects.put(instanceType, instance); } return instance; |
