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