Class VotesExampleApp

java.lang.Object
info.ejava.examples.svc.docker.votes.VotesExampleApp

@SpringBootApplication @EnableAspectJAutoProxy public class VotesExampleApp extends Object
  • Field Details

    • postgresUser

      @Value("${spring.datasource.username:}") private String postgresUser
    • postgresPassword

      @Value("${spring.datasource.password:}") private String postgresPassword
  • Constructor Details

    • VotesExampleApp

      public VotesExampleApp()
  • Method Details

    • main

      public static void main(String[] args)
    • init

      @PostConstruct public void init()
    • jacksonCustomizer

      @Bean @Order(2147483647) public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jacksonCustomizer()
    • jsonMapper

      @Bean public com.fasterxml.jackson.databind.ObjectMapper jsonMapper(org.springframework.http.converter.json.Jackson2ObjectMapperBuilder builder)