美文网首页
SpringBoot常用注解(Annotation)

SpringBoot常用注解(Annotation)

作者: 熊妈妈宝典 | 来源:发表于2018-03-24 15:02 被阅读20次

    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