Skip to content

Commit b069efa

Browse files
committed
Polish Javadoc for @ManagedAttribute
See gh-24742
1 parent 107f88a commit b069efa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedAttribute.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
import java.lang.annotation.RetentionPolicy;
2323
import java.lang.annotation.Target;
2424

25-
import javax.management.Descriptor;
26-
2725
/**
2826
* 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.
3131
*
3232
* @author Rob Harrop
3333
* @since 1.2
@@ -39,27 +39,27 @@
3939
public @interface ManagedAttribute {
4040

4141
/**
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}.
4343
*/
4444
String defaultValue() default "";
4545

4646
/**
47-
* Set the description for the attribute a JMX {@link Descriptor}.
47+
* Set the description for the attribute in a {@link javax.management.Descriptor}.
4848
*/
4949
String description() default "";
5050

5151
/**
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}.
5353
*/
5454
int currencyTimeLimit() default -1;
5555

5656
/**
57-
* Set the persistPolicy field in a JMX {@link Descriptor}.
57+
* Set the persistPolicy field in a {@link javax.management.Descriptor}.
5858
*/
5959
String persistPolicy() default "";
6060

6161
/**
62-
* Set the persistPeriod field in a JMX {@link Descriptor}.
62+
* Set the persistPeriod field in a {@link javax.management.Descriptor}.
6363
*/
6464
int persistPeriod() default -1;
6565

0 commit comments

Comments
 (0)