}
try {
// NSLog.debug.appendln("Loaded items: " + initializedFrameworks);
if(observer == null) {
observer = new Observer();
NSNotificationCenter center = NSNotificationCenter.defaultCenter();
center.addObserver(observer,
new NSSelector("willFinishInitialization", ERXConstant.NotificationClassArray),
// WOApplication.ApplicationWillFinishLaunchingNotification,
ERXApplication.ApplicationDidCreateNotification,
null);
center.addObserver(observer,
new NSSelector("didFinishInitialization", ERXConstant.NotificationClassArray),
// WOApplication.ApplicationWillFinishLaunchingNotification,
ERXApplication.ApplicationDidFinishInitializationNotification,
null);
}