|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface ManagedResource
JDK 1.5+ class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the ManagedResource attribute.
Note: This annotation is marked as inherited, allowing for generic management-aware base classes. In such a scenario, it is recommended to not specify an object name value since this would lead to naming collisions in case of multiple subclasses getting registered.
ManagedResource
Optional Element Summary | |
---|---|
int |
currencyTimeLimit
|
java.lang.String |
description
|
boolean |
log
|
java.lang.String |
logFile
|
java.lang.String |
objectName
|
java.lang.String |
persistLocation
|
java.lang.String |
persistName
|
int |
persistPeriod
|
java.lang.String |
persistPolicy
|
java.lang.String |
value
The annotation value is equivalent to the objectName
attribute, for simple default usage. |
public abstract java.lang.String value
objectName
attribute, for simple default usage.
public abstract java.lang.String objectName
public abstract java.lang.String description
public abstract int currencyTimeLimit
public abstract boolean log
public abstract java.lang.String logFile
public abstract java.lang.String persistPolicy
public abstract int persistPeriod
public abstract java.lang.String persistName
public abstract java.lang.String persistLocation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |