mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 02:31:14 +01:00
register listener at the end of initialization
This commit is contained in:
@@ -125,7 +125,6 @@ public class DefaultPluginManager
|
|||||||
this.context = context;
|
this.context = context;
|
||||||
this.securityContextProvicer = securityContextProvicer;
|
this.securityContextProvicer = securityContextProvicer;
|
||||||
this.configuration = configuration;
|
this.configuration = configuration;
|
||||||
this.configuration.addListener(this);
|
|
||||||
this.cache = cacheManager.getCache(String.class, PluginCenter.class,
|
this.cache = cacheManager.getCache(String.class, PluginCenter.class,
|
||||||
CACHE_NAME);
|
CACHE_NAME);
|
||||||
this.clientProvider = clientProvider;
|
this.clientProvider = clientProvider;
|
||||||
@@ -150,6 +149,8 @@ public class DefaultPluginManager
|
|||||||
{
|
{
|
||||||
throw new ConfigurationException(ex);
|
throw new ConfigurationException(ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.configuration.addListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
//~--- methods --------------------------------------------------------------
|
//~--- methods --------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user