1 16 17 package org.springframework.jmx.export.annotation; 18 19 import java.lang.annotation.Documented ; 20 import java.lang.annotation.ElementType ; 21 import java.lang.annotation.Retention ; 22 import java.lang.annotation.RetentionPolicy ; 23 import java.lang.annotation.Target ; 24 25 34 @Target (ElementType.TYPE) 35 @Retention (RetentionPolicy.RUNTIME) 36 @Documented 37 public @interface ManagedResource { 38 39 String objectName() default ""; 40 41 String description() default ""; 42 43 int currencyTimeLimit() default -1; 44 45 boolean log() default false; 46 47 String logFile() default ""; 48 49 String persistPolicy() default ""; 50 51 int persistPeriod() default -1; 52 53 String persistName() default ""; 54 55 String persistLocation() default ""; 56 57 } 58 | Popular Tags |