Package jakarta.resource.spi
Annotation Interface ConfigProperty
Designates a JavaBean property as a configuration property
- Since:
- 1.6
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Indicates that the configuration property is confidential and recommends application server's configuration tools to use special visual aids for editing them.Inferred by the container for field based annotations if possible.String[]
Describes the configuration property.boolean
Indicates that the configuration tools must ignore considering this Property during auto-discovery of Configuration properties.boolean
Indicates that the configuration property supports dynamic updates to its value during the lifetime of the JavaBeanInferred by the container if unspecified.
-
Element Details
-
type
Class typeInferred by the container if unspecified.- Returns:
- property type
- Default:
- java.lang.Object.class
-
description
String[] descriptionDescribes the configuration property.- Returns:
- property description
- Default:
- {}
-
defaultValue
String defaultValueInferred by the container for field based annotations if possible.- Returns:
- default value
- Default:
- ""
-
ignore
boolean ignoreIndicates that the configuration tools must ignore considering this Property during auto-discovery of Configuration properties.- Returns:
- true if configuration tools must ignore considering this Property during auto-discovery of Configuration properties
- Default:
- false
-
supportsDynamicUpdates
boolean supportsDynamicUpdatesIndicates that the configuration property supports dynamic updates to its value during the lifetime of the JavaBean- Returns:
- true if the configuration property supports dynamic updates
- Default:
- false
-
confidential
boolean confidentialIndicates that the configuration property is confidential and recommends application server's configuration tools to use special visual aids for editing them.- Returns:
- true if the configuration property is confidential
- Default:
- false
-