added getBean(String) to bean Service to fix a bug in fileChangedMessage