@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface ManagedResource
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
Modifier and Type | Optional Element and Description |
---|---|
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. |