1 22 package org.jboss.annotation.ejb.cache.tree; 23 24 import java.lang.annotation.ElementType ; 25 import java.lang.annotation.Retention ; 26 import java.lang.annotation.RetentionPolicy ; 27 import java.lang.annotation.Target ; 28 29 35 @Retention (RetentionPolicy.RUNTIME) 36 @Target ({ElementType.TYPE}) 37 public @interface CacheConfig 38 { 39 String name() default "jboss.cache:service=EJB3SFSBClusteredCache"; 40 41 int maxSize() default 10000; 42 43 long idleTimeoutSeconds() default 300; 44 } 45 | Popular Tags |