* Create a LifecycleListenr that will be informed of lifecycle events.
* We only care about running (the configuration ClassLoader cannot be retrieved when the Configuration is stopping)
* and stopped.
*/
private LifecycleListener createLifecycleListener() {
return new LifecycleListener() {
public void loaded(AbstractName abstractName) {
}
public void starting(AbstractName abstractName) {
}
public void running(AbstractName abstractName) {