nhuray / dropwizard-spring

Dropwizard / Spring integration
54 stars 35 forks source link

Obtain ObjectMapper from the Dropwizard Environment #3

Closed acourtneybrown closed 11 years ago

acourtneybrown commented 11 years ago

In your existing code, the ObjectMapper is hard-wired to a new one created in ConfigurationPlaceholderConfigurer instead of relying on the ObjectMapperFactory in the Dropwizard Environment. This change makes the ConfigurationPlaceholderConfigurer use an ObjectMapper obtained from the Dropwizard Environment.