KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > bus > management > jmx > export > annotation > ManagedResource


1 package org.objectweb.celtix.bus.management.jmx.export.annotation;
2
3 import java.lang.annotation.Documented JavaDoc;
4 import java.lang.annotation.ElementType JavaDoc;
5 import java.lang.annotation.Retention JavaDoc;
6 import java.lang.annotation.RetentionPolicy JavaDoc;
7 import java.lang.annotation.Target JavaDoc;
8
9
10 @Target JavaDoc(ElementType.TYPE)
11 @Retention JavaDoc(RetentionPolicy.RUNTIME)
12 @Documented JavaDoc
13 public @interface ManagedResource {
14
15     String JavaDoc componentName() default "";
16
17     String JavaDoc description() default "";
18
19     int currencyTimeLimit() default -1;
20
21     boolean log() default false;
22
23     String JavaDoc logFile() default "";
24
25     String JavaDoc persistPolicy() default "";
26
27     int persistPeriod() default -1;
28
29     String JavaDoc persistName() default "";
30
31     String JavaDoc persistLocation() default "";
32
33 }
34
Popular Tags