1

そのため、Spring Roo プロジェクトで ehcache-spring-annotations 1.2.0 を使用していますが、Roo は、作成していないネストされたアノテーションに遭遇するたびに完全に適合します。ネストされた注釈を使用せずにこの注釈を書き直す方法はありますか?

@Cacheable(cacheName = "CacheName", 
           keyGenerator = @KeyGenerator (
               name = "ListCacheKeyGenerator",
               properties = {
                   @Property(name="useReflection", value="true"),
                   @Property(name="checkforCycles", value="true")}))
public void method() {
    // do something that needs cached
}
4

0 に答える 0