|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value={TYPE,FIELD,METHOD,CONSTRUCTOR,PARAMETER}) public @interface JMX
Provides additional information for JMX Model MBean Instrumentation.
The information provided for class members with this annotation is used by
the ModelMBeanInstrumentor
for instrumenting
an instance of the class as Model MBean.
This annotation is dedicated to the customiziation of the JMX instrumentation
produced by ReflectionInspector
with the
ModelMBeanInstrumentor
. The annotation interface JMX provides
accessors for all the fields which can be specified in Model MBean
descriptors.
"Fields have two uses. First, field values are used internally by the
JMX implementation-- for example, to determine when to retrieve the value of
an attribute from the internal cache or when to invoke the getter for that
attribute. The second use of Descriptor
fields is to provide
more information to the agent level or management application about an MBean
or one of its features." Java Management Extensions -J.Steven
Perry- O'Reilly
Optional Element Summary | |
---|---|
java.lang.String |
currencyTimeLimit
Provides the number of seconds that the value field of an attribute or the lastReturnedValue field of an operation is valid. |
java.lang.String |
description
Provides a description for the member. |
java.lang.String |
displayName
Provides the display name of the member. |
java.lang.String |
export
Provides the fully qualified class name of an object that is capable of making the MBaean locateable. |
java.lang.String |
getMethod
Provides the name of the method on the managed resource that acts as the getter for the attribute. |
boolean |
hide
Tells whether or not to hide the meber from JMX management. |
int |
impact
Provides the impact of an operation. |
java.lang.String |
log
Tells wether or not to log notifications. |
java.lang.String |
logFile
Provides the full path of the log file. |
java.lang.String |
managed
Provides the class of the managed resource. |
java.lang.String |
name
Provides the name of the managed resource. |
java.lang.String |
persistPeriod
Provides the number of seconds that should elapse before the attribure value is written to oersistent storage. |
java.lang.String |
persistPolicy
Provides a string specifying the persist policy. |
java.lang.String |
setMethod
Provides the name of the method on the managed resource that acts as the setter for the attribute. |
int |
severity
Provides a severity number for notifications. |
int |
visibility
Provides a visibility number for MBeans. |
java.lang.String |
xml
Provides an XML representation of a descriptor's fields. |
public abstract java.lang.String name
Applies only to parameters.
public abstract java.lang.String managed
Applies only to operations.
public abstract java.lang.String currencyTimeLimit
Applies only to attributes and operations.
public abstract java.lang.String description
public abstract java.lang.String displayName
public abstract java.lang.String export
public abstract java.lang.String getMethod
Applies only to attributes.
setMethod()
public abstract boolean hide
true
if member is hiddenpublic abstract int impact
Applies only to operations.
public abstract java.lang.String log
true
if notifications shall be loggedpublic abstract java.lang.String logFile
public abstract java.lang.String persistPeriod
public abstract java.lang.String persistPolicy
Never
OnTimer
OnUpdate
NoMoreOftenThan
public abstract java.lang.String setMethod
getMethod()
public abstract int severity
public abstract int visibility
public abstract java.lang.String xml
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |