@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 |
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