1.@Bean(initMethod = "init", destroyMethod = "destroy")
2.@PostConstruct @PreDestroy
3.@RequestMapping(value="/path/{pwd}")
public String fun(@PathVariable(name="pwd") Stringpwd)
{
}
1.@Bean(initMethod = "init", destroyMethod = "destroy")
2.@PostConstruct @PreDestroy
3.@RequestMapping(value="/path/{pwd}")
public String fun(@PathVariable(name="pwd") Stringpwd)
{
}
本文标题:SpringBoot常用注解(Annotation)
本文链接:https://www.haomeiwen.com/subject/ievqcftx.html
网友评论