Module de.cuioss.portal.restclient
Package de.cuioss.portal.restclient
Annotation Interface PortalRestClient
@Qualifier
@Retention(RUNTIME)
@Target({TYPE,METHOD,FIELD,PARAMETER})
public @interface PortalRestClient
Marker identifying concrete instances of RestClientHolder. The connection-specific metadata is derived by a number of properties derived by
baseName(). Expected is a structure as defined within ConfigAsConnectionMetadata. </ p>
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
baseName
- Returns:
- the basename of the configuration, see
ConfigAsConnectionMetadatafor details
-
-
-
failOnInvalidConfiguration
boolean failOnInvalidConfiguration- Returns:
- boolean indicating whether the corresponding producer should throw an
IllegalArgumentExceptionin case the properties contain errors. Defaults totrue. In case offalsewill return the createdRestClientHolderwithout structural checks on the configuration
- Default:
- true
-