• Phillip Webb's avatar
    Refine SpringApplication source types · 889d43dd
    Phillip Webb authored
    Update `SpringApplication` so that the `run` methods and constructors
    now require `Class<?>` arguments, rather than `Objects`. String based
    sources can still be loaded, but must now be set on the `getSources()`
    collections. `Package` and `Resource` types are no longer directly
    supported.
    
    This change should help IDEs offer better content assist, and will
    help integrations with alternative languages such as Ceylon.
    
    Users currently passing in Class references or using the
    `spring.main.sources` property should not be affected by this change. If
    an XML resource is being used, some refactoring may be required (see the
    changes to `SampleSpringXmlApplication` in this commit).
    
    Fixes gh-9170
    889d43dd
Name
Last commit
Last update
..
spring-boot-sample-activemq Loading commit data...
spring-boot-sample-actuator Loading commit data...
spring-boot-sample-actuator-log4j2 Loading commit data...
spring-boot-sample-actuator-noweb Loading commit data...
spring-boot-sample-actuator-ui Loading commit data...
spring-boot-sample-amqp Loading commit data...
spring-boot-sample-ant Loading commit data...
spring-boot-sample-aop Loading commit data...
spring-boot-sample-atmosphere Loading commit data...
spring-boot-sample-batch Loading commit data...
spring-boot-sample-cache Loading commit data...
spring-boot-sample-custom-layout Loading commit data...
spring-boot-sample-data-cassandra Loading commit data...
spring-boot-sample-data-couchbase Loading commit data...
spring-boot-sample-data-elasticsearch Loading commit data...
spring-boot-sample-data-jpa Loading commit data...
spring-boot-sample-data-ldap Loading commit data...
spring-boot-sample-data-mongodb Loading commit data...
spring-boot-sample-data-neo4j Loading commit data...
spring-boot-sample-data-redis Loading commit data...
spring-boot-sample-data-rest Loading commit data...
spring-boot-sample-data-solr Loading commit data...
spring-boot-sample-devtools Loading commit data...
spring-boot-sample-flyway Loading commit data...
spring-boot-sample-hateoas Loading commit data...
spring-boot-sample-hypermedia Loading commit data...
spring-boot-sample-hypermedia-gson Loading commit data...
spring-boot-sample-hypermedia-jpa Loading commit data...
spring-boot-sample-hypermedia-ui Loading commit data...
spring-boot-sample-hypermedia-ui-secure Loading commit data...
spring-boot-sample-integration Loading commit data...
spring-boot-sample-jersey Loading commit data...
spring-boot-sample-jersey1 Loading commit data...
spring-boot-sample-jetty Loading commit data...
spring-boot-sample-jetty-jsp Loading commit data...
spring-boot-sample-jetty-ssl Loading commit data...
spring-boot-sample-jooq Loading commit data...
spring-boot-sample-jpa Loading commit data...
spring-boot-sample-jta-atomikos Loading commit data...
spring-boot-sample-jta-bitronix Loading commit data...
spring-boot-sample-jta-jndi Loading commit data...
spring-boot-sample-jta-narayana Loading commit data...
spring-boot-sample-liquibase Loading commit data...
spring-boot-sample-logback Loading commit data...
spring-boot-sample-metrics-dropwizard Loading commit data...
spring-boot-sample-metrics-opentsdb Loading commit data...
spring-boot-sample-metrics-redis Loading commit data...
spring-boot-sample-parent-context Loading commit data...
spring-boot-sample-profile Loading commit data...
spring-boot-sample-property-validation Loading commit data...
spring-boot-sample-secure Loading commit data...
spring-boot-sample-secure-oauth2 Loading commit data...
spring-boot-sample-secure-oauth2-actuator Loading commit data...
spring-boot-sample-secure-oauth2-resource Loading commit data...
spring-boot-sample-servlet Loading commit data...
spring-boot-sample-session-redis Loading commit data...
spring-boot-sample-simple Loading commit data...
spring-boot-sample-test Loading commit data...
spring-boot-sample-test-nomockito Loading commit data...
spring-boot-sample-testng Loading commit data...
spring-boot-sample-tomcat Loading commit data...
spring-boot-sample-tomcat-jsp Loading commit data...
spring-boot-sample-tomcat-multi-connectors Loading commit data...
spring-boot-sample-tomcat-ssl Loading commit data...
spring-boot-sample-traditional Loading commit data...
spring-boot-sample-undertow Loading commit data...
spring-boot-sample-undertow-ssl Loading commit data...
spring-boot-sample-war Loading commit data...
spring-boot-sample-web-freemarker Loading commit data...
spring-boot-sample-web-groovy-templates Loading commit data...
spring-boot-sample-web-jsp Loading commit data...
spring-boot-sample-web-method-security Loading commit data...
spring-boot-sample-web-mustache Loading commit data...
spring-boot-sample-web-secure Loading commit data...
spring-boot-sample-web-secure-custom Loading commit data...
spring-boot-sample-web-secure-github Loading commit data...
spring-boot-sample-web-secure-jdbc Loading commit data...
spring-boot-sample-web-static Loading commit data...
spring-boot-sample-web-ui Loading commit data...
spring-boot-sample-webflux Loading commit data...
spring-boot-sample-webservices Loading commit data...
spring-boot-sample-websocket-jetty Loading commit data...
spring-boot-sample-websocket-tomcat Loading commit data...
spring-boot-sample-websocket-undertow Loading commit data...
spring-boot-sample-xml Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...