Package jakarta.resource.spi
Annotation Type ConfigProperty
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ConfigProperty
Designates a JavaBean property as a configuration property- Since:
- 1.6
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanconfidentialIndicates that the configuration property is confidential and recommends application server's configuration tools to use special visual aids for editing them.StringdefaultValueInferred by the container for field based annotations if possible.String[]descriptionDescribes the configuration property.booleanignoreIndicates that the configuration tools must ignore considering this Property during auto-discovery of Configuration properties.booleansupportsDynamicUpdatesIndicates that the configuration property supports dynamic updates to its value during the lifetime of the JavaBeanClasstypeInferred by the container if unspecified.
-
-
-
Element Detail
-
type
Class type
Inferred by the container if unspecified.- Returns:
- property type
- Default:
- java.lang.Object.class
-
-
-
description
String[] description
Describes the configuration property.- Returns:
- property description
- Default:
- {}
-
-
-
defaultValue
String defaultValue
Inferred by the container for field based annotations if possible.- Returns:
- default value
- Default:
- ""
-
-