摘要: 简介 Java EE5 引入了@PostConstruct和@PreDestroy这两个作用于Servlet生命周期的注解,实现Bean初始化之前和销毁之前的自定义操作。此文主要说明@PostConstruct。 API使用说明 以下为@PostConstruct的API使用说明: PostCons 阅读全文
posted @ 2018-02-08 15:39 panda521 阅读(1340) 评论(0) 推荐(0) 编辑