1 package org.jboss.cache.config; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.ElementType; 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.RetentionPolicy; 7 import java.lang.annotation.Target; 8 9 /** 10 * Annotation that marks fields in {@link Configuration} as being modifiable even after the cache has started. 11 * 12 * @author <a HREF="mailto:manik@jboss.org">Manik Surtani</a> 13 * @since 2.0.0 14 */ 15 16 // ensure this annotation is available at runtime. 17 @Retention(RetentionPolicy.RUNTIME) 18 19 // ensure that this annotation is documented on fields in Configuration 20 @Documented 21 22 // only applies to fields. 23 @Target(ElementType.FIELD) 24 25 public @interface Dynamic 26 { 27 } 28