@Target(value={METHOD,ANNOTATION_TYPE}) public @interface Invalidate
@Invalidate
public void stop() {
// Code executed when instances are becoming invalid
}
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.