Advanced bean wiring(Chapter 3 of Spring In Action)
Spring supports two forms of method injection:
By implementing certain interfaces, you can cause Spring to treat beans as special—as part of the Spring Framework itself. By taking advantage of these special beans, you can configure beans that
■ Become involved in the bean’s creation and the bean factory’s lifecycles by postprocessing bean configuration
■ Load configuration information from external property files
■ Load textual messages from property files, including internationalized messages
■ Listen for and respond to application events that are published by other beans and by the Spring container itself
■ Are aware of their identity within the Spring container