File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
spring-context/src/main/java/org/springframework/jmx/export/annotation Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
22
22
import java .lang .annotation .RetentionPolicy ;
23
23
import java .lang .annotation .Target ;
24
24
25
+ import javax .management .Descriptor ;
26
+
25
27
/**
26
28
* Method-level annotation that indicates to expose a given bean property as a
27
29
* JMX attribute, corresponding to the {@code ManagedAttribute} attribute.
36
38
@ Documented
37
39
public @interface ManagedAttribute {
38
40
41
+ /**
42
+ * Set the default value for the attribute in a JMX {@link Descriptor}.
43
+ */
39
44
String defaultValue () default "" ;
40
45
46
+ /**
47
+ * Set the description for the attribute a JMX {@link Descriptor}.
48
+ */
41
49
String description () default "" ;
42
50
51
+ /**
52
+ * Set the currency time limit field in a JMX {@link Descriptor}.
53
+ */
43
54
int currencyTimeLimit () default -1 ;
44
55
56
+ /**
57
+ * Set the persistPolicy field in a JMX {@link Descriptor}.
58
+ */
45
59
String persistPolicy () default "" ;
46
60
61
+ /**
62
+ * Set the persistPeriod field in a JMX {@link Descriptor}.
63
+ */
47
64
int persistPeriod () default -1 ;
48
65
49
66
}
You can’t perform that action at this time.
0 commit comments