|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface DescriptionThis annotation is applied to a method that takes no arguments and returns a value that is converted into a String for use in the ObjectName when an instance of the enclosing class is used to construct an open MBean.
| Required Element Summary | |
|---|---|
String |
value
The description to be applied to the annotated element. |
| Optional Element Summary | |
|---|---|
String |
key
Optional key to use in a resource bundle for this description. |
| Element Detail |
|---|
public abstract String value
public abstract String key
If this key is not present, the default key is given by the class name, if this annotation appears on a class, or the class name.method name if this annotation appears on a method. It is an error to use the default value for more than one method of the same name, except for setters and getters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||