Annotation Interface OnTeardown


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnTeardown
Identifies a method to be called when a object is removed from service

Methods marked like this should have zero parameters and be marked final, so as to prevent tear down methods at different levels of the object hierarchy getting in each others way

Since:
9.3.0