Commit Graph

19 Commits

Author SHA1 Message Date
Dave Syer
a79e3613d3 Add header as separator 2013-12-17 11:07:46 +00:00
Phillip Webb
513c6a1de2 Polish 2013-12-16 14:38:52 -08:00
Dave Syer
60cb5fd35c Add log4j starter and some documentation
As discussed in gh-162
2013-12-16 17:26:53 +00:00
Dave Syer
c78973e375 MessageConverters -> HttpMessageConverters 2013-12-15 13:33:50 +00:00
Dave Syer
c2b499c775 Support for @Beans of type HttpMessageConverter, and Jackson specific details
You can contribute additional HttpMessageConverters
by simply adding beans of that type in a Spring Boot
context. If a bean you add is of a type that would have been included
by default anyway (like MappingJackson2HttpMessageConverter for JSON
conversions) then it will replace the default value. A convenience
bean is provided of type MessageConverters (always available if you
use the default MVC configuration) which has some useful methods to
access the default and user-enhanced message converters (useful, for
example if you want to manually inject them into a custom
RestTemplate).

There are also some convenient configuration shortcuts for Jackson2.
The smallest change that might work is to just add beans of type
Module to your context. They will be registered with the default
ObjectMapper and then injected into the default message
converter. In addition, if your context contains any beans of type
ObjectMapper then all of the Module beans will be registered with
all of the mappers.
2013-12-14 22:05:30 +00:00
Dave Syer
c40d0aba0d Document switching off DispatcherServlet 2013-12-12 17:32:58 +00:00
Dave Syer
e1a09e0900 Fix formatting of header 2013-12-04 12:30:14 +00:00
Dave Syer
e28e6d9593 More updated howtos 2013-11-29 09:46:10 +00:00
Dave Syer
19fa5b9af6 Updated howtos 2013-11-29 07:39:24 +00:00
Dave Syer
3e6c1b435f Add @SpringApplicationConfiguration (for integration testing)
Example:

    @RunWith(SpringJUnit4ClassRunner.class)
    @SpringApplicationConfiguration(classes = SampleDataJpaApplication.class)
    public class CityRepositoryIntegrationTests {

    	@Autowired
    	CityRepository repository;

Fixes gh-66.
2013-11-28 14:35:36 +00:00
Dave Syer
710dfaf9b2 Add howto for migrating existing app 2013-11-27 13:49:44 +00:00
Dave Syer
cd54e1ed49 Add some more howtos 2013-11-26 18:00:50 +00:00
Dave Syer
cb38abff41 Add starter for howto.md 2013-11-25 17:28:51 +00:00
Dave Syer
6bfc888a58 Remove missing links 2013-10-09 12:43:15 -04:00
Phillip Webb
f8f36ead42 Add sample yml to docs 2013-09-05 17:14:11 -07:00
Phillip Webb
9cf59050d3 Documentation 2013-07-31 01:14:07 -07:00
Phillip Webb
65a9953c86 Fix a new remaining 'zero' and 'bootstrap' terms
Issue: #54095231
2013-07-26 14:14:51 -07:00
Dave Syer
2098e23fca Change package names zero->boot
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up

[#54095231] [bs-253] Refactor Zero->Boot
2013-07-26 14:13:41 +01:00
Dave Syer
90c942387f Add basic READMEs 2013-07-19 17:36:22 +01:00