A Spring ApplicationContext is a subinterface of BeanFactory.It is somewhat similar to BeanFactory in terms that both define beans,bind them together and make them available on request.In its functioning and ApplicationContext has following advanced features:
-Resolving Messages, supporting internationalization
-Support for an eventing mechanism, allowing application objects to publish events and they can register to be notified of events optionally.
-Supports generic loading and access of file resources like image files.
-Supports customization of container behavior through automatic recognition of special application-specific or generic, bean definitions.


3 comments:
Application Context is not a sub-interface of Bean Factory. It is the reverse, i.e, Bean Factory is the sub-interface of Application COntext.
+1
org.springframework.context
Interface ApplicationContext
All Superinterfaces:
ApplicationEventPublisher, BeanFactory, HierarchicalBeanFactory, ListableBeanFactory, MessageSource, ResourceLoader, ResourcePatternResolver
ApplicationContext IS a sub-interface of BeanFactory since it extends one.
public interface ApplicationContext extends ListableBeanFactory, HierarchicalBeanFactory,
MessageSource, ApplicationEventPublisher, ResourcePatternResolver
Post a Comment