1 package org.objectweb.celtix.bus.management.jmx.export.annotation; 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 @Target (ElementType.TYPE) 11 @Retention (RetentionPolicy.RUNTIME) 12 @Documented 13 public @interface ManagedResource { 14 15 String componentName() default ""; 16 17 String description() default ""; 18 19 int currencyTimeLimit() default -1; 20 21 boolean log() default false; 22 23 String logFile() default ""; 24 25 String persistPolicy() default ""; 26 27 int persistPeriod() default -1; 28 29 String persistName() default ""; 30 31 String persistLocation() default ""; 32 33 } 34 | Popular Tags |