Annotation Interface Configuration
@Inherited
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Deprecated(since="4.2.0")
public @interface Configuration
Deprecated.
General setting for the test configuration.
 
If used on a method, the container will be reset regardless of the test lifecycle.
- See Also:
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionString[]Deprecated.Class-path resources to add as config sources to the synthetic test configuration.Deprecated.Configuration profile.booleanDeprecated.If set tofalse, the synthetic test configuration is used.
- 
Element Details- 
useExistingboolean useExistingDeprecated.If set tofalse, the synthetic test configuration is used.The synthetic test configuration is expressed with the following: If set to true, only the existing (or default) MicroProfile configuration is used and the annotations listed previously are ignored.You can use ConfigProviderResolverto define the configuration programmatically before the CDI container starts.- Returns:
- whether to use existing (or default) configuration
 - Default:
- false
 
- 
configSourcesString[] configSourcesDeprecated.Class-path resources to add as config sources to the synthetic test configuration.- Returns:
- config sources
 - Default:
- {}
 
- 
profileString profileDeprecated.Configuration profile.The default profile is 'test' - Returns:
- profile
 - Default:
- "test"
 
 
- 
Configurationinstead