|
|||||||||
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
|
String |
description
|
boolean |
log
|
String |
logFile
|
String |
objectName
|
String |
persistLocation
|
String |
persistName
|
int |
persistPeriod
|
String |
persistPolicy
|
String |
value
The annotation value is equivalent to the objectName
attribute, for simple default usage. |
public abstract String value
objectName
attribute, for simple default usage.
public abstract String objectName
public abstract String description
public abstract int currencyTimeLimit
public abstract boolean log
public abstract String logFile
public abstract String persistPolicy
public abstract int persistPeriod
public abstract String persistName
public abstract String persistLocation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |