Stand-alone XML application context, backed by an OSGi bundle.
The configuration location defaults can be overridden via {@link #getDefaultConfigLocations()}. Note that locations can either denote concrete files like /myfiles/context.xml
or Ant-style patterns like /myfiles/*-context.xml
(see the {@link org.springframework.util.AntPathMatcher} javadoc for pattern details).
Note: In case of multiple configuration locations, later bean definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain bean definitions via an extra XML file.
This is the main ApplicationContext class for OSGi environments.
@author Adrian Colyer
@author Costin Leau
@author Andy Piper
@author Hal Hildebrand