목차

spring_boot_annotation

  • description : spring boot annotation
  • author : 도봉산핵주먹
  • email : hylee@repia.com
  • lastupdate : 2020-08-21

Annotation

여기에서 찾아보고 없으면 웹서핑 후 추가 부탁드립니다.


A


B


C

@ComponentScan
@Configuration
@ConfigurationProperties
  mail.host = mailserver@mail.com
  mail.port = 9000
  mail.defaultRecipients[0] = admin> @il.com
  mail.port = 9000
  mail.defaultRecipients[0] = admin@mail.com
  mail.defaultRecipients[1] = customer@mail.com
@CookieValue
@CrossOrigin
@ControllerAdvice
@Cacheable
@CachePut
@CacheEvict
@CacheEvict(value=“cacheKey”), @CacheEvict(value=“cacheKey”, allEntries=true)
@CacheConfig


D


E

@EnableAutoConfiguration
@ExceptionHandler(ExceptionClassName.class)
@EnableEurekaServer
@EnableDiscoveryClient


F


G

@GetMapping
@GeneratedValue


H


I

@InitBinder


J


K


L

@Lazy


M

@ModelAttribute
class Person{
 
    String id;
 
    public void setId(String id){ this.id = id;}
 
}


N


O


P

@PostConstruct, @PreConstruct
@PreDestroy
@PropertySource
@PathVariable


Q

@Qualifier(“id123”)


R

@Required
@Resource
@RequestMapping
@RequestAttribute
@RequestBody
@RequestHeader
@RequestParam
@RequestPart
@ResponseBody
@RestControllerAdvice
@ResponseStatus
@RequiredArgsConstructor


S

@SpringBootApplication
@SessionAttributes
@Scheduled


T

@Transactional


U


V

@Value
@Valid


W


X


Y


Z