Polish Javadoc for @ManagedAttribute
See gh-24742
This commit is contained in:
@@ -22,12 +22,12 @@ import java.lang.annotation.Retention;
|
|||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
import javax.management.Descriptor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method-level annotation that indicates to expose a given bean property as a
|
* Method-level annotation that indicates to expose a given bean property as a
|
||||||
* JMX attribute, corresponding to the {@code ManagedAttribute} attribute.
|
* JMX attribute, corresponding to the
|
||||||
* Only valid when used on a JavaBean getter or setter.
|
* {@link org.springframework.jmx.export.metadata.ManagedAttribute}.
|
||||||
|
*
|
||||||
|
* <p>Only valid when used on a JavaBean getter or setter.
|
||||||
*
|
*
|
||||||
* @author Rob Harrop
|
* @author Rob Harrop
|
||||||
* @since 1.2
|
* @since 1.2
|
||||||
@@ -39,27 +39,27 @@ import javax.management.Descriptor;
|
|||||||
public @interface ManagedAttribute {
|
public @interface ManagedAttribute {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the default value for the attribute in a JMX {@link Descriptor}.
|
* Set the default value for the attribute in a {@link javax.management.Descriptor}.
|
||||||
*/
|
*/
|
||||||
String defaultValue() default "";
|
String defaultValue() default "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the description for the attribute a JMX {@link Descriptor}.
|
* Set the description for the attribute in a {@link javax.management.Descriptor}.
|
||||||
*/
|
*/
|
||||||
String description() default "";
|
String description() default "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the currency time limit field in a JMX {@link Descriptor}.
|
* Set the currency time limit field in a {@link javax.management.Descriptor}.
|
||||||
*/
|
*/
|
||||||
int currencyTimeLimit() default -1;
|
int currencyTimeLimit() default -1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the persistPolicy field in a JMX {@link Descriptor}.
|
* Set the persistPolicy field in a {@link javax.management.Descriptor}.
|
||||||
*/
|
*/
|
||||||
String persistPolicy() default "";
|
String persistPolicy() default "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the persistPeriod field in a JMX {@link Descriptor}.
|
* Set the persistPeriod field in a {@link javax.management.Descriptor}.
|
||||||
*/
|
*/
|
||||||
int persistPeriod() default -1;
|
int persistPeriod() default -1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user