@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface ManagedResource
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
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
Alias for the
objectName() attribute, for simple default usage. |
@AliasFor(value="objectName") public abstract java.lang.String value
objectName()
attribute, for simple default usage.