if (dbconfig.getScanAddOn() == null) {
dbconfig.setScanAddOn(new ScanAddOnModel());
}
if (getPostScanBehaviour(dbconfig) == null) {
getScanAddOn(dbconfig).setPostScanBehaviour(new PostScanBehaviourModel());
}
} catch (ScanNotFoundException e) {
}
if (config.getScanAddOn() == null) {
config.setScanAddOn(new ScanAddOnModel());
}
if (getPostScanBehaviour(config) == null) {
getScanAddOn(config).setPostScanBehaviour(new PostScanBehaviourModel());
}
if (config instanceof IEventSource) {
((IEventSource<EntityPropertyChangedEvent<IConfig<?>>>) this.config).addListener(configListener);
}