Annotation Interface PreDestroy
Marks a method to be called before the bean is destroyed.
标记一个方法在Bean销毁前调用。
标记一个方法在Bean销毁前调用。
This annotation is applied to a method that needs to be executed before the bean is removed from the container.
This annotation is applied to a method that needs to be executed before the bean is removed from the container.