register listener at the end of initialization

This commit is contained in:
Sebastian Sdorra
2011-09-06 12:18:59 +02:00
parent 7eed55982e
commit 23b7c782ef

View File

@@ -125,7 +125,6 @@ public class DefaultPluginManager
this.context = context;
this.securityContextProvicer = securityContextProvicer;
this.configuration = configuration;
this.configuration.addListener(this);
this.cache = cacheManager.getCache(String.class, PluginCenter.class,
CACHE_NAME);
this.clientProvider = clientProvider;
@@ -150,6 +149,8 @@ public class DefaultPluginManager
{
throw new ConfigurationException(ex);
}
this.configuration.addListener(this);
}
//~--- methods --------------------------------------------------------------