java Cache based annotation specification