@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ManagedAttribute
Indicates that a public method or a field (any visibility) in
an MBean class defines an MBean attribute. This annotation can
be applied to either a field or a public setter and/or getter
method of a public class that is itself is optionally annotated
with an @MBean annotation, or inherits such an annotation from
a superclass.
- 作者:
- Chris Mills