|
22 | 22 | import java.lang.annotation.RetentionPolicy;
|
23 | 23 | import java.lang.annotation.Target;
|
24 | 24 |
|
25 |
| -import javax.management.Descriptor; |
26 |
| - |
27 | 25 | /**
|
28 | 26 | * Method-level annotation that indicates to expose a given bean property as a
|
29 |
| - * JMX attribute, corresponding to the {@code ManagedAttribute} attribute. |
30 |
| - * Only valid when used on a JavaBean getter or setter. |
| 27 | + * JMX attribute, corresponding to the |
| 28 | + * {@link org.springframework.jmx.export.metadata.ManagedAttribute}. |
| 29 | + * |
| 30 | + * <p>Only valid when used on a JavaBean getter or setter. |
31 | 31 | *
|
32 | 32 | * @author Rob Harrop
|
33 | 33 | * @since 1.2
|
|
39 | 39 | public @interface ManagedAttribute {
|
40 | 40 |
|
41 | 41 | /**
|
42 |
| - * Set the default value for the attribute in a JMX {@link Descriptor}. |
| 42 | + * Set the default value for the attribute in a {@link javax.management.Descriptor}. |
43 | 43 | */
|
44 | 44 | String defaultValue() default "";
|
45 | 45 |
|
46 | 46 | /**
|
47 |
| - * Set the description for the attribute a JMX {@link Descriptor}. |
| 47 | + * Set the description for the attribute in a {@link javax.management.Descriptor}. |
48 | 48 | */
|
49 | 49 | String description() default "";
|
50 | 50 |
|
51 | 51 | /**
|
52 |
| - * Set the currency time limit field in a JMX {@link Descriptor}. |
| 52 | + * Set the currency time limit field in a {@link javax.management.Descriptor}. |
53 | 53 | */
|
54 | 54 | int currencyTimeLimit() default -1;
|
55 | 55 |
|
56 | 56 | /**
|
57 |
| - * Set the persistPolicy field in a JMX {@link Descriptor}. |
| 57 | + * Set the persistPolicy field in a {@link javax.management.Descriptor}. |
58 | 58 | */
|
59 | 59 | String persistPolicy() default "";
|
60 | 60 |
|
61 | 61 | /**
|
62 |
| - * Set the persistPeriod field in a JMX {@link Descriptor}. |
| 62 | + * Set the persistPeriod field in a {@link javax.management.Descriptor}. |
63 | 63 | */
|
64 | 64 | int persistPeriod() default -1;
|
65 | 65 |
|
|
0 commit comments