Perhaps I phrased the question wrong. I meant to say that I want to load all java configuration file available in the class path instead of the applicationContext.xml. Something like this -
@Configuration
@ImportResource("Some other configuration java files which might be in the dependant projects but in the same classpath")
public class AppConfig {
}